Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Expert AWS Development

You're reading from   Expert AWS Development Efficiently develop, deploy, and manage your enterprise apps on the Amazon Web Services platform

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781788477581
Length 408 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Atul Mistry Atul Mistry
Author Profile Icon Atul Mistry
Atul Mistry
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. AWS Tools and SDKs FREE CHAPTER 2. Integrating Applications with AWS Services 3. Continuous Integration and Continuous Deployment Workflow 4. CI/CD in AWS Part 1 – CodeCommit, CodeBuild, and Testing 5. CI/CD in AWS Part 2 – CodeDeploy, CodePipeline, and CodeStar 6. User Authentication with AWS Cognito 7. Evaluating the Best Architecture 8. Traditional Web Hosting – Amazon EC2 and Elastic Load Balancing 9. Amazon EC2 Container Service 10. Amazon Lambda – AWS Serverless Architecture 11. Other Books You May Enjoy

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...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image