1) The document discusses introducing Elastic Beanstalk and deploying a Python/Flask application to it. It demonstrates importing an existing Flask project and deploying it on Beanstalk.
2) It also demonstrates importing a Flask project contained in a Docker container and deploying it to Beanstalk.
3) Additionally, it covers some new features of Git 2.0 and tips for using Git. It promotes the book Pro Git and mentions the team working on translations.
31. Build & Deploy an Web-app
EC2 (IaaS) Beanstalk (PaaS)
서버 수동 - EC2 Instance 생성 자동 (eb create)
dev,prod 환경 수동 - EC2 Instance 생성 자동 (eb create)
프레임워크 수동 - Instance에서 설치 자동
웹서버설정 수동 - Instance에서 설정 자동
배포 수동 - rsync, scp, git pull, CI 자동 (eb deploy)
로드밸런싱
오토 스케일링
설정필요 - EC2에서 설정 자동(?) - (1~4 conf)
웹앱코딩 수동 수동
36. Application versions and saved configurations
Saved configurations
Save these for easy duplication for
A/B testing or non-disruptive
deployments
Application versions
All versions are stored durably
in Amazon S3. Code can also
be pushed from a Git repository!
45. Beanstalk Deploy
eb deploy
eb deploy (CLI 3.0)
git aws.push (CLI 2.6)
Internal Process
make a zip file (git archive —format=zip)
upload the zip file into S3 bucket (API)
call Beanstalk API to deploy a new version (API)
46. And Git 2
1.x
Pro Git - Open Source Git Book in Multi-language
With GitHub
clone, checkout, merge, push, cherry-pick, rebase
2.0 (2014)
47. Git 2
Additional Version 2 & Tips
'git push’ strategy: matching to simple
simple: push the current branch to its upstream
matching: all branch existed on remote (1.x)
'git add' added removed file
git add -u (1.x)
tag list
git tag --list —sort=version:refname
git tag --list | sort -V (can’t on OS X) (1.x)
53. Team Weaveus
{pismute, lethee, mage}@weaveus
Coding and Living
Study and Translations
dogfeet.github.io
Grails Doc., Meteor Doc., …
관심사 - Docker, Ansible
Pro Git (and Pro Git 2 soon)
54. Team Weaveus
{pismute, lethee, mage}@weaveus
Coding and Living
Study and Translations
dogfeet.github.io
Grails Doc., Meteor Doc., …
Docker, Ansible
Pro Git (and Pro Git 2 soon) - require(구입)
55. Refs. and See-also
re:Invent
APP201 - Going Zero to Sixty with AWS Elastic Beanstalk
APP202 - Deploy, Manage, Scale Apps w/ AWS
OpsWorks & AWS Elastic Beanstalk
APP303 - Lightning Fast Deploys with Docker
Containers and AWS
APP313 - NEW LAUNCH: Amazon EC2 Container Service
in Action
56. Refs. and See-also
아마존 웹 서비스를 다루는 기술 by pyrasis
http://pyrasis.com/book/
TheArtOfAmazonWebServices/Chapter23
AWS lab
http://github.com/awslabs
• AWS 서비스 연동 예제
http://github.com/awslabs/eb-py-flask-signup