Amazon EC2 Container Service (Amazon ECS) 概要

  • Published on
    12-Aug-2015

  • View
    1.844

  • Download
    5

Embed Size (px)

Transcript

<ol><li> 1. 1 Amazon EC2 Container Service 2015/7/27 JAWS Container #1 Ryosuke Iwanaga, Amazon Data Services Japan </li><li> 2. 2 Ryosuke Iwanaga ( ) a.k.a @riywo Amazon Data Services Japan Solutions Architect Startup, Gaming Big Data / Deployment / Container Before Amazon Software Engineer / Ops Engineer / DBA / etc. </li><li> 3. 3 Solutions Architect, Amazon Data Services Japan AWS AWS() Webinar Amazon Web Services AWS Solutions Architect AWS Black Belt Tech Webinar AWS Webinar </li><li> 4. 4 AWS Black Belt Tech Webinar 2015 #awsblackbelt 7AWS DB 7/29AWS CloudHSM &amp; AWS KMS 8/5 Amazon DynamoDB 8/12 8/19Amazon ElastiCache 8/26Amazon Redshift http://aws.amazon.com/jp/event_schedule/ </li><li> 5. 5 AWSWebinar AWS 18~1915 728RDBAWSOracle 811AWS E 825AWS Web [] http://aws.amazon.com/jp/about-aws/events/ </li><li> 6. 6 We are hiring!! http://aws.amazon.com/jp/careers/ </li><li> 7. 7 Amazon ECS Black Belt Tech Webinar http://www.slideshare.net/AmazonWebServicesJapan/aws-blackbelt-2015-ecs </li><li> 8. 8 </li><li> 9. 9 ProcessProcess OS Server Bins/Libs Bins/Libs OS App1 App2 Dockerfile OS: Ubuntu Apache, PHP Dockerfile OS: CentOS Nginx, Ruby Images Build Run Run </li><li> 10. 10 OS ProcessProcess Server Bins/Libs Bins/Libs OS App1 App2 Dockerfile OS: Ubuntu Apache, PHP Dockerfile OS: CentOS Nginx, Ruby Images Build Run Run </li><li> 11. 11 Base image Patches Ruby Redis Logger Utilities App </li><li> 12. 12 </li><li> 13. 13 AWS Elastic BeanstalkDocker Deploy </li><li> 14. 14 35% 85% </li><li> 15. 15 ~80% </li><li> 16. 16 CPU: 500 Mem: 300 CPU: 10 Mem: 30 CPU: 2000 Mem: 1000 CPU: 10 Mem: 30CPU: 10 Mem: 30 Scheduler Cluster Manager </li><li> 17. 17 Amazon EC2 Container Service </li><li> 18. 18 Amazon EC2 Container Service AWS Elastic Load Balancing, Amazon EBS, Amazon VPC, AWS IAM, AWS CloudTrail API </li><li> 19. 19 </li><li> 20. 20 Cluster Container Instance Amazon ECS Cluster, Container Instance, Agent Task Definition, Task, Container Run Task, Service Agent Task Container Container Task Service Task Definition Agent Task Task Definition Run Task </li><li> 21. 21 Amazon ECS https://www.youtube.com/watch?v=1wLMLwjCqN4 </li><li> 22. 22 Run Task Amazon ECS: Cluster, Container Instance, Agent Task Definition, Task, Container Run Task, Service Service Task DefinitionTask Definition Cluster Container Instance Task Container Container Task Agent Task Agent </li><li> 23. 23 Amazon ECS: Cluster Container Instance ClusterInstance </li><li> 24. 24 Amazon ECS: Container Instance Amazon EC2 VPC Docker+ECS Agent Amazon ECS- optimized AMI </li><li> 25. 25 Amazon ECS: Agent Amazon ECS endpoint GoDocker image Docker Hub </li><li> 26. 26 Run Task Amazon ECS: Cluster, Container Instance, Agent Task Definition, Task, Container Run Task, Service Service Cluster Container Instance Agent Agent Task Container Container Task Task Task DefinitionTask Definition </li><li> 27. 27 Amazon ECS: Task Definition CPU, memory, (Port) </li><li> 28. 28 : Docker Compose / Docker Swarm Docker Compose Task Definition docker-compose.ymlTask DefinitionJSON https://github.com/ambitioninc/container-transform : DockerCon 2015Amazon ECSDocker Compose, Docker Swarm https://twitter.com/docker/status/613033125900382209 </li><li> 29. 29 Amazon ECS: Task Task Definition 1Task Definition Task Container Instance </li><li> 30. 30 Amazon ECS: Container Task Docker 1Task Container Container Instance </li><li> 31. 31 Amazon ECS: Cluster, Container Instance, Agent Task Definition, Task, Container Run Task, Service Cluster Container Instance Agent Agent Task Container Container Task Task Task DefinitionTask Definition ServiceRun Task </li><li> 32. 32 Amazon ECS: Run Task Batch Task Definition Task Container Instance </li><li> 33. 33 Amazon ECS: Service Web/API Task Task Definition Elastic Load Balancing </li><li> 34. 34 Amazon ECS: Service </li><li> 35. 35 Amazon ECS: ServiceUpdate ServiceTask DefinitionUpdate Task Task Task TaskBlue-Green Deployment(Atomic) </li><li> 36. 36 </li><li> 37. 37 Amazon ECS Docker Amazon ECS Amazon CTO Werner </li></ol>