Book Image

Expert AWS Development

By : Atul Mistry
Book Image

Expert AWS Development

By: Atul Mistry

Overview of this book

Expert AWS Development begins with the installation of the AWS SDK and you will go on to get hands-on experience of creating an application using the AWS Management Console and the AWS Command Line Interface (CLI). Then, you will integrate applications with AWS services such as DynamoDB, Amazon Kinesis, AWS Lambda, Amazon SQS, and Amazon SWF. Following this, you will get well versed with CI/CD workflow and work with four major phases in the release process – Source, Build, Test, and Production. Then, you will learn to apply AWS Developer tools to your Continuous Integration (CI) and Continuous Deployment (CD) workflow. Later, you will learn about user authentication using Amazon Cognito, and also how you can evaluate the best architecture as per your infrastructure costs. You will learn about Amazon EC2 service and will deploy an app using it. You will also deploy a practical real-world example of a CI/CD application with the Serverless Application Framework, which is known as AWS Lambda. Finally, you will learn how to build, develop, and deploy the Application using AWS Developer tools such as AWS CodeCommit, AWS CodeBuild, AWS CodeDeploy, and AWS CodePipeline, as per your project requirements.
Table of Contents (16 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

Docker


As we've already learned in Chapter 7, Evaluating the Best Architecture, Docker is a Linux-based container technology. It allows your distributed applications to build, run, test and deploy. The Amazon EC2 Container Service provides container-based services that use Docker images in their task definitions and start containers on an EC2 instance.

Let's look at an example of Docker. You will install Docker, create a Docker image, and verify a simple web page.

Docker is currently available for different operating systems, such as Linux distributions, Windows, and macOS. You can launch an EC2 Linux instance, if you have any, and install Docker. You can use Docker without a local machine. 

The following are the steps to install a Docker image on the instance of an Amazon Linux-based AMI:

  1. Launch an Amazon Linux AMI instance and connect to it.
  2. Execute the following command to update the installed package. It will also cache on the instance:
sudo yum update –y
  1. Now, execute the following command...