Example: marketing

AWS Quick Start

AWS Quick StartWeb App DeploymentAWS Quick Start Web App DeploymentAWS Quick Start : Web App DeploymentCopyright 2019 Amazon Web Services, Inc. and/or its affiliates. All rights 's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any mannerthat is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks notowned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored Quick Start Web App DeploymentTable of ContentsGetting Started .. 1 Your Environment .. 3 The AWS Resources in Your Environment .. 3 The Elastic Beanstalk Environment Management Console .. 3 Creating More Environments .. 7 Updating Your Web App .. 9 Modifying and Deploying Your Web App.

AWS Quick Start Web App Deployment The Elastic Beanstalk Environment Management Console The navigation panel on the left side of the console links

Tags:

  Quick, Link, Start, Aws quick start

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of AWS Quick Start

1 AWS Quick StartWeb App DeploymentAWS Quick Start Web App DeploymentAWS Quick Start : Web App DeploymentCopyright 2019 Amazon Web Services, Inc. and/or its affiliates. All rights 's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any mannerthat is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks notowned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored Quick Start Web App DeploymentTable of ContentsGetting Started .. 1 Your Environment .. 3 The AWS Resources in Your Environment .. 3 The Elastic Beanstalk Environment Management Console .. 3 Creating More Environments .. 7 Updating Your Web App .. 9 Modifying and Deploying Your Web App.

2 9 Managing Application Versions .. 11 Configuring Your Web App .. 12 Using the Environment Configuration Page .. 12 Configuring and Retrieving Server Logs .. 14 Adding More Resources .. 16 Adding an Amazon RDS Database .. 16 Configuring a Custom Domain 17 Keep Going .. 19iiiAWS Quick Start Web App DeploymentGetting Started with Web AppDeployment on Elastic BeanstalkWelcome to the AWS Quick Start Guide: Web App Deployment. This guide explains how to deploy a webapp using a new, preview version of the AWS Elastic Beanstalk management console. The new consoleis available only to a selected group of new AWS users. If you are part of that group, you will see a newversion of the AWS Management Console home page that includes the following image:If you don't see this image, use the following links to find the right guide for you: Getting Started with AWS: Deploying a Web App This guide walks you through deploying a web appwith the current version of the Elastic Beanstalk console.

3 AWS Elastic Beanstalk Developer Guide The full developer guide for Elastic guide provides sample Tomcat web apps that you can deploy to an Elastic Beanstalk environment tosee how Elastic Beanstalk works. Basic Tomcat Web App - you begin, you need to sign up for an AWS account. Go to Getting Started With AWS and followthe instructions to create an you haven't already created an Elastic Beanstalk environment, or want to create a new environment todeploy the sample Tomcat web apps, as described in this guide, create one a new Elastic Beanstalk web app the Elastic Beanstalk Management the Create a web app wizard is not shown automatically, choose Create New a name for your application (for example, tutorial)1 AWS Quick Start Web App a platform. Each platform includes a set of tools and configurations that supportdevelopment for a specific language, web app server, or framework.

4 The examples in this guide usethe Tomcat Create sample Beanstalk creates all of the resources needed to run your web app in AWS. When all of theresources are up and running, the Environment Dashboard is you have a source bundle (p. 9) containing your web app code, you can choose to uploadit when Elastic Beanstalk creates the environment, but we recommend this only for advancedusers. Creating an environment with the sample web apps we provide ensures that ElasticBeanstalk will create the environment successfully; you can deploy your web app to thishealthy, running environment later. If there are issues with your web app source, it is easier totroubleshoot them on a running next chapter (p. 3) introduces you to the resources in your new environment and theEnvironment Management Quick Start Web App DeploymentThe AWS Resources in Your EnvironmentYour Elastic Beanstalk Web AppEnvironmentNow you have a web app running in AWS Elastic Beanstalk.

5 As Elastic Beanstalk creates yourenvironment, it interacts with several other AWS services to create the resources required to run yourweb app securely and Elastic Beanstalk creates these resources, it displays event messages that show the resource namesand alert you to errors that occur. You can view events and other information about your environment inthe Elastic Beanstalk Environment Management AWS Resources in Your EnvironmentWhen you deploy a sample web app for the first time, Elastic Beanstalk creates a standard environmentwith the following resources: EC2 instance A virtual machine that runs Amazon Linux or Microsoft Windows Server and that isconfigured to run web apps on the platform that you platform runs a different set of software, configuration files, and scripts to support a specificlanguage version, framework, web container, or combination thereof.

6 Most platforms use eitherApache or nginx as a reverse proxy that sits in front of your web app, forwards requests to it, servesstatic assets, and generates access and error logs. Security group An Amazon Elastic Compute Cloud (Amazon EC2) security group configured to allowingress on port 80. This resource lets HTTP traffic from the Internet reach the EC2 instance runningyour web app. By default, traffic is not allowed on other ports. Auto Scaling group An Auto Scaling group configured to replace an instance if it is terminated orbecomes unavailable. Amazon S3 bucket A storage location for your source code, logs, and other artifacts that are createdwhen you use Elastic Beanstalk. Amazon CloudWatch alarms Two Amazon CloudWatch alarms that monitor the load on theinstances in your environment and trigger if the load is too high or too low.

7 When an alarm istriggered, your Auto Scaling group scales up or down in response. Domain name A domain name that routes to your web app in the of the AWS resources that Elastic Beanstalk creates for a standard environment are eligible for theAWS Free Tier. To stay within the Free Tier limits, use instances and a single environment. Formore information, see Elastic Beanstalk Environment ManagementConsoleThe management console for your environment lets you easily monitor your environment, manage yourweb app configuration, and retrieve Quick Start Web App DeploymentThe Elastic Beanstalk Environment Management ConsoleTo access the Environment Management the Elastic Beanstalk Management your Dashboard, the main page of the Environment Management Console, provides general informationabout your environment and summarizes its health:The Dashboard provides the following information: Health The overall health of the environment.

8 Green indicates that your web app is available andready to take requests. Yellow, or Red indicate that health checks are failing. Grey indicates thatno information is being received or that an operation is in progress. Health checks can fail becausedeployment hasn't completed, or because there is an issue with the configuration or your web app. Running Version The name of the application version running in your environment. Click Uploadand Deploy to upload a source bundle and deploy it to your environment. More on this in theUpdating Your Web App (p. 9) chapter. Configuration The platform configuration running on your environment. When a new version ofthe configuration is released, a notification is displayed here. To upgrade to the new version, chooseChange. Recent Events Events emitted by your environment when Elastic Beanstalk creates resources,deploys a new version of your web app, or identifies health issues.

9 INFO events show progressduring an operation or provide information about resources, such as the IDs of instances that ElasticBeanstalk launches. Other types of events indicate potential issues and might cause the health of yourenvironment to Quick Start Web App DeploymentThe Elastic Beanstalk Environment Management ConsoleThe navigation panel on the left side of the console links to several other pages that you can use tomonitor and manage your environment. Choose Logs to display the Logs Logs page lets you request logs from the EC2 instances in your view the Elastic Beanstalk Management your environment to view the environment Request logs, and then choose Last 100 lines. Elastic Beanstalk sends a request to theinstances in your environment to compile a log file, and then upload it to Amazon Simple StorageService (Amazon S3).

10 Download to open the log file. This file contains the last 100 lines of several log files,including access and errors logs from the Apache proxy, Elastic Beanstalk activity logs, , the primary log for your Tomcat web Beanstalk automatically deletes logs generated from this page are after 15 minutes. We'll seehow to rotate logs to Amazon S3 for permanent storage in Configuring Your Web App (p. 12).Let's check out one more page before we move on. Choose Monitoring in the navigation panel to openthe monitoring Quick Start Web App DeploymentThe Elastic Beanstalk Environment Management ConsoleThis page displays the CloudWatch metrics generated by your environment's resources. Choose anygraph to see a full screen , we'll look at environment creation (p. 7) in more Quick Start Web App DeploymentCreating More EnvironmentsNow you have an Elastic Beanstalk environment running a sample web app with a set of supporting AWSresources with default settings.


Related search queries