Part 3 - Know the Relevant AWS Services

At this point, the legacy application is deployed in your AWS account. Its initial architecture is shown in the diagram below:

Relevant AWS services icons

After completing the workshop, you will transform it into a microservices software architecture that looks like this:

Relevant AWS services icons

In this section, we will introduce the components above and explain how they are integrated into the workshop.

Legacy Application in Elastic Beanstalk

AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling web applications and services developed with various languages on familiar servers such as Apache, Nginx, Passenger, and IIS. You just upload your deployable web application to the Elastic Beanstalk, and it will automatically handle the deployment, from capacity provisioning, load balancing, and automatic scaling to web application health monitoring, with ongoing fully managed patch and security updates.

In this workshop, we are hosting the legacy monolith version of the Unishop web application in Elastic Beanstalk. You will learn how to access and manage the legacy application in a bit.

You can view the legacy Elastic Beanstalk instance in Elastic Beanstalk. In the AWS Management Console, navigate to Elastic Beanstalk. Search EB

After that, you should see a list of environments in Elastic Beanstalk - the environment named “LegacyApplication” is the one we built for your legacy application. You will also see the URL for the legacy application. Please note down the link of that URL in your cheat sheet (You should paste it under “Elastic Beanstalk LegacyApplication URL”).

List of EB envs

Development Environment on EC2

Follow the initial instructions in the previous part to navigate to EC2. In the EC2 Console, click “Running instances”.

EC2 Console

After that, you will see several EC2 instances. The instance named “Developer Desktop” is the developer desktop we built for you.

List of running EC2 instances

MSSQL Database in RDS

Amazon Relational Database Service (RDS) is an easy-to-use, scalable and secure relational database service on AWS. Amazon RDS provides cost-efficient and scalable relational database capacity while automating time-consuming administration tasks such as hardware provisioning, database setup, patching and backups. It frees you to focus on your applications so you can focus on providing fast performance, high availability, security and compatibility.

In this workshop, we host a Microsoft SQL Server database for the legacy application on RDS. To view it, please click the “Services” on the top left of the web page, enter “RDS” and click the “RDS” option.

Search RDS

In the RDS Console, click the “DB Instances” to view your databases.

RDS Console

Here you can see a Microsoft SQL Server database named “unishop” , which is the database for the legacy application running in Elastic Beanstalk.

Database list

Now that you are familiar with the basic AWS services that are used in the initial stage of the workshop, let’s move on to the next part to take a look at the source code of the unishop.