SYS 360 Lab 7 1: Elastic Beanstalk Activity - JadenGil/Jaden-Tech-Journal GitHub Wiki

Access the Elastic Beanstalk environment:

To get started search for "Elastic Beanstalk" in the search bar and select it. The main page should look like this:

image

Click on the environment name and you'll be taken to the dashboard:

image

Click on the domain link and you'll be taking to a 404 error page:

image

image


Deploy a sample application to Elastic Beanstalk

Use this link to download the sample app for the lab: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/samples/tomcat.zip

And on the dashboard select "Upload and deploy"

image

Then add the file and deploy:

image

Then we can select the domain link once the deployment is done and we will get this page:

image

Then back on the dashboard, we will want to select configuration:

image

Then in the network and database panel select edit:

image


Note from lab:

In the Networking, database, and tags row, choose Edit.

Note that you could easily enable a database to this environment if you wanted to: you only need to set a few basic configurations and choose Apply. (However, for the purposes of this activity, you do not need to add a database.)

Choose Cancel at the bottom of the screen.


Now we want to select monitoring:

image

Browse through the charts to see the kinds of information that are available to you.


Explore the AWS resources that support your application:

Now we want to go to the search bar and navigate to EC2 and choose instances. You will see the two following instances:

image


Note from lab:

If you want to continue exploring the Amazon EC2 service resources that were created by Elastic Beanstalk, feel free to explore them. You will find:

A security group with port 80 open

A load balancer that both instances belong to

An Auto Scaling group that runs from two to six instances, depending on the network load

Though Elastic Beanstalk created these resources for you, you still have access to them.


image