3. JAVA MAGAZIN 11.14
ARCHITEKTUR IM KONTEXT DER CLOUD: PATTERNS UND BEST
PRACTICES
AWS VIRTUAL CLOUD SUMMIT
CONTINUOUS DELIVERY IN AWS USING DOCKER
ENTWICKLER SPEZIAL: DOCKER
ĂśBER DEN WOLKEN: EIN ERFAHRUNGSBERICHT ZUM DOCKER-
EINSATZ IN DER AMAZON CLOUD
ABOUT ME
4. AGENDA
1. Docker
2. Amazon Web Services
3. Docker Container Deployment
4. Immutable Server Pattern
5. EC2 Container Service
14. DOCKER DEPLOYMENT
â—ŹAPI to access Docker daemon
â—ŹCan be bound to specific host/port
â—ŹE.g. Jenkins can trigger deplyoments
â—ŹGET /containers/json
REMOTE API
15. DOCKER DEPLOYMENT
â—ŹData to configure instance during
launch
â—ŹInstall Docker
â—ŹStart Daemon
â—ŹRun Docker container
EC2 USER DATA
16.
17. IMMUTABLE SERVER
â—ŹTrash your servers!!!
â—ŹNew deployment => new infrastructure
●Don’t change an existing server
â—ŹProblem: snowflake server
Eb
- Single Container
- Multiple Containers (dependencies using JSON format)
- Cool: direct integration into ELB (not just on EC2 level)
----- Meeting Notes (26/10/14 22:22) -----
Fabric -> Boto
----- Meeting Notes (26/10/14 22:22) -----
Fabric -> Boto
Cluster: a logical grouping of container instances that you can place tasks on.
Container Instance: an Amazon EC2 instance that is running the Amazon ECS agent and has been registered into a cluster.
Task Definition: a description of an application that contains one or more container definitions.
Task: an instantiation of a task definition that is running on a container instance.
Container: a Linux container that was created as part of a task.