In: Computer Science
3. Describe how to deploy applications over commercial cloud computing infrastructures
Deploying applications on AWS: -
Step 1: create a key pair to access your virtual machine with
Amazon EC2.If you already have a key pair, skip ahead.
Step 2: Click the home icon on the upper left corner of the AWS
Management Console. Find CodeDeploy under Developer Tools and click
to open the AWS CodeDeploy Console.
In the AWS CodeDeploy Console, click Get Started Now.If you already
have applications, look to the right column and click Create
Deployment Walkthrough.
Select Sample Deployment and click Next.
Step 3: Launch an AWS virtual machine to deploy your code on. AWS
virtual machines are known as Amazon EC2 instances, or just
'instances' for short.
You will configure your instance settings with the options
below:
Operating System,Instance Type,Key Pair Name, Tag Key and
Value.
Click Launch Instances.
Step 4: Name Your Application and Review Your Application
Revision.
Step 5: Create a Deployment Group.Choose Next Step.
Step 6: Create a Service Role.Choose Create a new service role. If
you already have a service role, you can choose Use an existing
service role.
Click Next Step.
Step 7: Deploy Your Application.Accept the Default Deployment
Configuration and click Next Step.
Deploying applications on Microsoft Azure:
Step 1: In Solution Explorer, right-click the project node and
choose Publish (or use the Build > Publish menu item).
Step 2: If you have previously configured any publishing profiles,
the Publish window appears. Select New.
Step 3: In the Publish window, select Azure.
Step 4: Select Azure App Service (Windows) and Next.
Step 5: Sign in with your Azure account, if necessary. Select
Create a new Azure App Service.
Step 6: In the Create Azure App Service (Windows) dialog, the App
Name, Resource Group, and App Service Plan entry fields are
populated. You can keep these names or change them.
When ready, select Create.
Step 7: In the Publish dialog, the newly created instance has been
automatically selected. When ready, select Finish.
Step 8: Select Publish. Visual Studio deploys the app to your Azure
App Service, and the web app loads in your browser. The project
properties Publish pane shows the site URL and other details.
Deploying applications on GoogleApp Engine:
Step 1: You need a Google Cloud project with an App Engine
application to deploy to. If you don't already have one, use the
Google Cloud Console to set up your Cloud project:
Select or create a new Cloud project.
Step 2: Sign in to a Google account that is used to deploy your
project to App Engine.
Step 3: Ensure that the appengine-web.xml file is in the WEB-INF
folder of your web application.
Spet 4: Ensure that the project has the App Engine Project facet.
If you created it using the wizard, it should already have this
facet. Otherwise:
Right click the project in the Package Explorer to bring up the
context menu.
Select Configure then Convert to App Engine Project.
Step 5: To deploy the project to App Engine standard
environment:
Right click the project in the Package Explorer to open the context
menu.
Step 6: Select Deploy to App Engine Standard.
A dialog pops up.
Select the account you want to deploy with, or add a new
account.
Step 7: The list of projects the account has access to loads.
Select the one you want to deploy to.
Click OK.
A background job launches that deploys the project to App
Engine.