Deploying Applications to the AWS Cloud in a Jiffy!
Amazon Web Services (AWS) is the most favored cloud provider for Dot 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 and retains the security, performance, and reliability requirements your business demands.
Here, I have provided a detailed, step-by-step procedure for deploying your applications to the AWS cloud. Before moving to the procedure, check out the basic prerequisites.
- Add the AWS SDK Package to Visual Studio. (To explain, here I have used Visual Studio community edition. This is the most preferred approach for first-time deployment users.)
- To add the AWS SDK Package, download the AWS Toolkit for Visual Studio.
Steps to Deploy
1. Opening Your Application
Open your application, using Visual Studio. Click Build from the menu and select Publish to AWS.
Figure 1: Selecting "Publish to AWS"
2. Locating the Pop-up Screen
Once you click Publish to AWS, a pop-up screen will open, as shown in Figure 2.
Figure 2: Accessing the pop-up screen
3. Selecting the Account Profile
Select the account profile if it is already created or create a new profile. To create a new profile, click the Profile icon. A pop-up screen will display, as shown in Figure 3.
Figure 3: Creating a new profile
4. Getting the Account Information
You can get the account ID and the Key information from the AWS management console. Click Account Identifiers to get the account ID and Access Keys to get the Key information. Fill in all the fields for the profile creation and click OK.
Figure 4: Getting the account ID
5. Creating a New Environment
If you are deploying for the first time, choose Create a new environment under the deployment target. Also, choose your required Region for deployment. Click Next to proceed further.
Figure 5: Creating a new environment
6. Selecting the Application Environment
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.
Figure 6: Selecting the environment tag
7. Configuring the Environment
Configure the environment as per the requirement and click Next.
Figure 7: Configuring the environment
8. Selecting Service Roles
Select service roles granting permissions to your application and click Next.
Figure 8: Selecting permissions
9. Specifying the Build Configuration
Specify the build configuration, app pool runtime, and app path.
Figure 9: Specifying the Build and IIS settings
10. Reviewing the Environment Configuration
Review the environment configuration and click Deploy to start the deployment.
Figure 10: Reviewing the environment configuration
11. Checking the Deployment Event Details
The deployment event details will be shown in your Visual Studio window, as shown in Figure 11.
Figure 11: Checking the deployment level details
Now, click the URL shown after the successful deployment.
Migrating applications to AWS cloud is simple and fast, as mentioned previously. Whether it is an existing application or a new SaaS-based application, AWS eases the migration process and dramatically helps increase both the effectiveness and efficiency of your business process.
About the Author
Vijetha is a software developer at Vmoksha Technologies. She is passionate about researching and implementing new technologies. Being a volunteer of Bhumi, she fulfills her dream of educating orphan children and helping the society.
# # #
This article was contributed. ©Developer.com. All Rights Reserved