Discovering Cloud Resources Using AWS Cloud Map
Discovering Cloud Resources Using AWS Cloud Map

CLOUD LABS

Discovering Cloud Resources Using AWS Cloud Map

In this Cloud Lab, you'll learn to integrate the AWS Cloud Map service with a complete end-to-end microservices-based application for cloud-based resource discovery.

12 Tasks

intermediate

3hr

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Thorough understanding of the AWS Cloud Map service
Hands-on experience creating a microservice-based application using different AWS services
Ability to discover cloud services and resources using AWS Cloud Map
Hands-on experience implementing randomized load balancing using AWS Cloud Map

Technologies
AWS logoAWS
EC2
Lambda
DynamoDB logoDynamoDB
Cloud Map
Cloud Lab Overview

AWS Cloud Map is a service used for discovering cloud resources on the AWS Cloud. Cloud Map allows you to define custom attributes of your application resources and automatically updates the addresses of these resources that dynamically change. With this simple yet powerful service, you can greatly enhance the availability of your microservices. Client applications will always discover the latest and most accurate locations of their back-end services and resources.

In this Cloud Lab, you’ll start by creating a complete end-to-end microservices-based application using a DynamoDB table as a database, a serverless Lambda function and a few EC2 instance hosted node servers as back-end services, and a provisioned React application as a frontend client application. You’ll then learn to integrate the AWS Cloud Map service to dynamically connect to backend services, even if they have different IP addresses or are down. Using the Cloud Map service, you’ll also learn to implement the randomized load-balancing algorithm for your EC2 servers.

The following is the high-level architecture diagram of the infrastructure that you’ll create in this Cloud Lab:

Architecture diagram
Architecture diagram

By the end of this Cloud Lab, you’ll have had hands-on experience integrating the AWS Cloud Map service with your microservices on the AWS Cloud and making them more dynamic.

Cloud Lab Tasks
1.Introduction
Getting Started
2.Set Up an End-to-End Microservices-Based Application
Set Up a DynamoDB Database
Set Up a Lambda Function for the Back-End Service
Complete Microservices Architecture with a React Application
3.Service Discovery with Cloud Map
Set Up Cloud Map Namespace and Services
Enable Service Discovery on Lambda Function
Enable Service Discovery for React Application
4.Randomized Load Balancing with Cloud Map
Provision EC2 Backend Services Using CloudFormation
Register New Back-End Services on Cloud Map
Observe Randomized Load Balancing on React Application
5.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image