This document summarizes a presentation about Amazon Web Services (AWS) and Docker. It discusses AWS services like Elastic Beanstalk and Elastic Container Service (ECS) that can be used to deploy and manage Docker containers. It provides an overview of Elastic Beanstalk and how it can be used with Docker, including defining a Dockerfile and deploying through the Elastic Beanstalk console. It also describes ECS and how it uses tasks to define container resources and scheduling to optimize usage across EC2 instances.
6. Elastic Beanstalk
Possiamo fare il deploy delle applicazioni in maniera rapida e semplice
senza preoccuparci dell’infrastruttura.
Riduce le complessità lasciando comunque libertà di azione (posso sempre
accedere alle risorse dalla console)
Environment
Deafult Tier (Web Server e Workers) or custom
Platform
Java, .Net, PHP, etc.
Provisioning, load balancing, scaling and monitoring fully managed by
AWS Elastic Beanstalk
Docker meetup - Milano
13. Elastic Container Services
Cluster of container on EC2 instances
Configuration management and Monitoring fully managed by ECS
Docker compliant
EC2 instance has a Docker agent and run one or more containers
Task e Scheduler
Ttask (Json file) define how the container work on task, the computing
resources (CPU and RAM) and the dependency
The scheduler launch the on Cluster with goal to optimize the resources of
instances.
Docker meetup - Milano
Tasks are simply groupings of related containers. For example, you might have one container that holds an Ngnix webserver, another that holds a MySQL database, and a third that holds a Ruby on Rails application. Individually they're just containers, but together they form a system that Amazon calls a task.