Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Docker on Amazon Web Services

You're reading from   Docker on Amazon Web Services Build, deploy, and manage your container applications at scale

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781788626507
Length 822 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Justin Menga Justin Menga
Author Profile Icon Justin Menga
Justin Menga
Arrow right icon
View More author details
Toc

Table of Contents (26) Chapters Close

Title Page
Copyright and Credits
Dedication
Packt Upsell
Contributors
Preface
1. Container and Docker Fundamentals FREE CHAPTER 2. Building Applications Using Docker 3. Getting Started with AWS 4. Introduction to ECS 5. Publishing Docker Images Using ECR 6. Building Custom ECS Container Instances 7. Creating ECS Clusters 8. Deploying Applications Using ECS 9. Managing Secrets 10. Isolating Network Access 11. Managing ECS Infrastructure Life Cycle 12. ECS Auto Scaling 13. Continuously Delivering ECS Applications 14. Fargate and ECS Service Discovery 15. Elastic Beanstalk 16. Docker Swarm in AWS 17. Elastic Kubernetes Service 1. Assessments 2. Other Books You May Enjoy Index

Chapter 10, Isolating Network Access


  1. True.
  2. You can use either the awsvpc (recommended) or host networking mode, which ensure your containers will obtain an IP address from the attached EC2 instance Elastic Network Interface (ENI).
  3. False – the awsvpc network mode is required for ECS task networking.
  4. You need to ensure the security groups configured for your ECS service permit access from the load-balancers.
  5. You enable ECS task networking for an ECS task definition, however your containers fail on startup with an error that states they are unable to reach a location that is located on the internet. How can you resolve this issue?
  6. Two – see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-eni.html#AvailableIpPerENI.
  7. One – a t2.micro supports a maximum of two ENIs, however, one ENI must be reserved for operating-system and ECS-agent communications.  Task-networking only allows a single task definition per ENI.
  8. 10 – given you can have a maximum of 1 ECS task definition running in task-networking mode (see previous answer) and you can run up to 10 containers in a single ECS task definition (see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service_limits.html).
  9. You must use the IP target type when using the awsvpc network mode.
  10. You should remove the loadBalancers property from the ECS service definition.
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 $15.99/month. Cancel anytime
Visually different images