Deploy Applications to AWS Cloud in a Jiffy!
Migrating applications to AWS cloud is quick and easy! Read on to see how it's done.
Join the DZone community and get the full member experience.Join For Free
Amazon Web Services (AWS) is the most favored cloud provider for .Net developers because of its flexibility, scalability, and reliability. It is a cost-effective computing resource solution that is designed to assist application developers to host their applications quickly and securely. AWS helps businesses to reduce capital expenses and administrative costs while retaining the security, performance, and reliability requirements your business demands.
Here, I have provided a detailed step-by-step procedure for deploying your applications to AWS cloud. Before moving to the procedure, check out the basic prerequisites.
- Add AWS SDK Package to Visual Studio. (To explain, here I have used Visual Studio community edition. This is the most preferred approach for the first time deployment users).
- To add AWS SDK Package, click here and download the AWS Toolkit for Visual Studio.
Steps to Deploy
#1. Open your application using Visual Studio. Click Build from the menu and select Publish to AWS.
#2. Once you click on the Publish to AWS, a popup screen will open as shown below.
#3. Select the account profile if it is already created or create a new profile. To create a new profile, click on the Profile icon. A popup screen will display as shown below.
#4. You can get the account ID and the Key information from AWS management console. Click Account Identifiers to get account ID and Access Keys to get the Key information. Fill in all the fields for profile creation and click OK.
#5. If you are deploying for the first time, choose Create a new environment under deployment target. Also, choose your required Region for deployment. Click Next to proceed further.
#6. Select the environment tag and enter the details to create a new environment. Check the availability of your URL, and if it exists, modify the URL to a different name. Click Next to proceed.
#7. Configure the environment as per the requirement and click Next.
#8. Select service roles granting permissions to your application and click Next.
#9. Specify the build configuration, app pool runtime, and app path.
#10. Review the environment configuration and click Deploy to start the deployment.
#11. The deployment event details will be shown in your visual studio window as shown below.
Now click on the URL shown after the successful deployment.
Migrating applications to AWS cloud is simple and fast as mentioned above. Whether it is an existing application or a new SaaS-based application, AWS eases the migration process and helps dramatically increase both the effectiveness and efficiency of your business process.
For more information please visit http://vmokshagroup.com/.
Published at DZone with permission of Vmoksha Technologies. See the original article here.
Opinions expressed by DZone contributors are their own.