Skip to main content

Deploying MVC .Net on Amazon(AWS)

This is a first article about how to deploy a MVC application on Amazon,  -->

Requirements:
 AWS Toolkit for Visual Studio(http://aws.amazon.com/es/visualstudio/) install it before start deploying
And application(I've known you got it)
Steps:

1.- Create an Account(easy) - there is a free version(12 months)
2.- Follow this article for understand how to deploy


3.-Probably you'll have problems with permissions("Redeploy to an existing environment"), so this is a way to solve it:

    Generate access key(http://aws.amazon.com/es/developers/access-keys/) , but what permission do you need?, this is an example: 


Now you have an Access Key, how to add?




Review in your AWS explorer that you have the permissions:

Check the instances, will be the same that you create following the first link(Quick Start)

Now you'll have enable the "Redeploy to an existing environment" option on Publish to AWS Elastic Beanstalk

Click on Deploy button...

Great now you have your application published

Enjoy...



Popular posts from this blog

Install docker on Oracle Linux 7 Notes

Add the necessary repo to the instance: cd /etc/yum.repos.d sudo vim docker-ce.repo Add these lines on top [centos-extras] name=Centos extras - $basearch baseurl=http://mirror.centos.org/centos/7/extras/x86_64 enabled=1 gpgcheck=0 Save and run the following command    sudo yum -y update  This will prevent: ---> Package docker-scan-plugin.x86_64 0:0.8.0-3.el7 will be installed ---> Package libcgroup.x86_64 0:0.41-21.el7 will be installed ---> Package libseccomp.x86_64 0:2.3.1-4.el7 will be installed --> Finished Dependency Resolution Error: Package: 3:docker-ce-20.10.8-3.el7.x86_64 (docker-ce-stable)            Requires: container-selinux >= 2:2.74 Error: Package: docker-ce-rootless-extras-20.10.8-3.el7.x86_64 (docker-ce-stable)            Requires: fuse-overlayfs >= 0.7 Error: Package: docker-ce-rootless-extras-20.10.8-3.el7.x86_64 (docker-ce-stable)            Requ...

PluralSight 6 Months Free free(Promo VisualStudio)

Recently VisualStudio team has been release a plan to help developers, so this plan has a lot of benefits you'll see in your account dashboard. --> This is the steps to get it: Create a Microsoft Account( I know you got it) Go to