Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PaaS 技術分享會 - AWS Elastic Beanstalk
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
moogoo
August 14, 2014
Technology
110
1
Share
PaaS 技術分享會 - AWS Elastic Beanstalk
moogoo
August 14, 2014
More Decks by moogoo
See All by moogoo
EB + Flask (Python) 的經驗談
moogoo78
1
280
Other Decks in Technology
See All in Technology
GKE Agent SandboxでAIが生成したコードを 安全に実行してみた
lamaglama39
0
200
OWASP APTSを眺めてみた
su3158
0
130
ハーネスエンジニアリング入門
knishioka
0
130
Agents CLI と Gemini Enterprise Agent Platform で マルチエージェント開発が楽しくなる!
kaz1437
0
260
VespaのParent Childを用いたフィードパフォーマンスの改善
taking
0
270
AIが自律的に働く時代へ Amazon Quick で実現するAIエージェント紹介
koheiyoshikawa
0
190
『生成AI時代のクレデンシャルとパーミッション設計 — Claude Code を起点に』の執筆企画
takuros
3
2.3k
CyberAgent YJC Connect
shimaf4979
1
170
知ってた?JavaScriptの"正しさ"を検証するテストが5万以上もあること(Test262)
riyaamemiya
1
150
Vision Banana: Image Generators are Generalist Vision Learners
kzykmyzw
0
310
Building a Study Buddy AI Agent from Scratch: From Passive Chatbots to Autonomous Systems
itchimonji
0
140
音声言語モデル手法に関する発表の紹介
kzinmr
0
170
Featured
See All Featured
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
380
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
190
Testing 201, or: Great Expectations
jmmastey
46
8.1k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.4k
The untapped power of vector embeddings
frankvandijk
2
1.7k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
340
Designing for Timeless Needs
cassininazir
0
220
Why Our Code Smells
bkeepers
PRO
340
58k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Odyssey Design
rkendrick25
PRO
2
610
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.3k
Typedesign – Prime Four
hannesfritz
42
3k
Transcript
AWS Elastic Beanstalk - 以 Python (Flask) 為例 -
moogoo 2014.08.14
關於 MooGoo • 經歷 • 資策會 (Multimedia Codec, Streaming, Android)
• Facebook 遊戲 • 購物⾞車平台 • ⺫⽬目前: Q.L.L ⼯工程師 • web service • Corona SDK FB: moogoo.lee
AWS Architecture
Elastic Beanstalk • 快速部署,⽅方便管理 • 整合 AWS 服務: • EC2
• S3 • SNS • CloudWatch • Elastic Load Balance • Auto Scaling ! ! from: http://www.flickr.com/photos/evil_cheese_scientist/ 3382743220/
Application Management on Services
Application and Management on AWS http://www.allthingsdistributed.com/2013/02/aws-opsworks.html
EB Architecture
EB Workflow
Support Platforms
AWS EB (Flask) Demo • Step 0: 準備相關套件 • EB
command line tools package • AWS-ElasticBeanstalk-CLI-2.5.1/eb/macosx/python2.7/eb • Git • Hello World App (Flask Framework)
AWS EB (Flask) Demo • Step 1: 初始化 / 設定
• $ git init • $ eb init • credentials setup • AWS region • Solution Architecture (OS + Web Server + Language) • WSGI path => application.py
App Source • requirements.txt • Flask==0.9 • application.py • hello
world sample (app => application)
AWS EB (Flask) Demo • Step 2: 建⽴立應⽤用程式 • $
eb start • S3 (environment data) • Load balancer • security group • Auto Scaling • CloudWatch • wsgi path
AWS EB (Flask) Demo • Step 3: 修改 / 部署
• git add . • git commit -m “update test” • git aws.push
AWS EB (Flask) Demo • Step 4: • eb stop
• eb delete • 其他 • eb status --verbose
Q & A https://www.facebook.com/groups/awsugtw/