Highly Available and Fault-Tolerant Architecture via Elastic Beanstalk

2 hours
  • 5 Learning Objectives

About this Hands-on Lab

AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling web applications and services developed with Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker on familiar servers such as Apache, Nginx, Passenger, and IIS.

You can simply upload your code and Elastic Beanstalk automatically handles the deployment, from capacity provisioning, load balancing, auto-scaling to application health monitoring. At the same time, you retain full control over the AWS resources powering your application and can access the underlying resources at any time.

This activity will cover the following objectives with Elastic Beanstalk:

-Demonstrate the ability to provision load balancer

-Demonstrate the ability to create Auto Scaling Group

-Demonstrate the ability to set application platform

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Set the Application Platform
  • Navigate to Elastic Beanstalk service.
  • Enter the following values:
    • Application name: highly_available_fault_tolerant
    • Environment name: test
    • Platform: Select Node.js
    • Application code: Select Sample application
Create an Auto Scaling Group
  • Select **High availability and set the following values:
    • Environment type: Load balanced
    • Instances: Min:2 Max:4
    • Availability Zones: Any 2
Select a Service Role
  • Modify the Security section.
  • Using the dropdown menu, select the service role generated for this lab. Use the service role starting with cfst-.
Provision a Load Balancer
  • Modify the Load Balancer and enable load balancing across multiple AZs.
  • Modify the Network and select the preconfigured VPC.
  • Select all of the availability zones for Load balancer subnets.
  • Select Public IP address for Instance settings.
  • Select all of the availability zones for the Instance subnets section.
  • Select the default the Instance security groups section.
Verify Configuration
  • Test new configuration by visiting URL.
  • We should see a "Congratulations" page if the app is running successfully.

Additional Resources

Note: In the lab, use the service role starting with cfst-.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?