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
AWS CloudFormation Crash Course
Search
Nils De Moor
September 11, 2013
Programming
3
670
AWS CloudFormation Crash Course
Nils De Moor
September 11, 2013
Tweet
Share
More Decks by Nils De Moor
See All by Nils De Moor
Woorank: Dismantling the monolith
ndemoor
0
180
Redis, your data on steroids
ndemoor
3
240
A Timeline of MongoDB
ndemoor
1
530
Phoenix Servers with Docker
ndemoor
3
250
Scaling Node with Docker + Nginx
ndemoor
3
870
What is Docker?
ndemoor
6
670
Greenup, Hackathon Project
ndemoor
1
86
Phoenix Servers with Packer
ndemoor
9
1.1k
Application Lifescycle
ndemoor
5
140
Other Decks in Programming
See All in Programming
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
3
940
Claude Agent SDK を使ってみよう
hyshu
0
1.4k
XP, Testing and ninja testing ZOZ5
m_seki
3
810
デミカツ切り抜きで面倒くさいことはPythonにやらせよう
aokswork3
0
260
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
200
Range on Rails ―「多重範囲型」という新たな選択肢が、複雑ロジックを劇的にシンプルにしたワケ
rizap_tech
0
6.7k
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
270
バッチ処理を「状態の記録」から「事実の記録」へ
panda728
PRO
0
190
Vueのバリデーション、結局どれを選べばいい? ― 自作バリデーションの限界と、脱却までの道のり ― / Which Vue Validation Library Should We Really Use? The Limits of Self-Made Validation and How I Finally Moved On
neginasu
2
450
Foundation Modelsを実装日本語学習アプリを作ってみた!
hypebeans
1
120
SODA - FACT BOOK(JP)
sodainc
1
8.6k
なんでRustの環境構築してないのにRust製のツールが動くの? / Why Do Rust-Based Tools Run Without a Rust Environment?
ssssota
8
23k
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
610
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Done Done
chrislema
185
16k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Build your cross-platform service in a week with App Engine
jlugia
232
18k
For a Future-Friendly Web
brad_frost
180
10k
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
Scaling GitHub
holman
463
140k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Transcript
AWS USER GROUP BELGIUM BY NILS DE MOOR @NDEMOOR KICK-OFF
MEETUP #1
YOU REVISION YOUR CODE IN REPOSITORIES... ...SO WHY NOT YOUR
INFRASTRUCTURE
CLOUDFORMATION ONE FILE TO RULE THEM ALL
CLOUDFORMATION “MAKE IT EASIER TO DEPLOY THE COLLECTION OF AWS
RESOURCES YOU NEED TO RUN YOUR APPLICATION REPEATEDLY AND PREDICATBLY USING A DECLARATIVE TEMPLATE” - CHRIS WHITACKER, AWS
BENEFITS - WRITE ONCE, DEPLOY EVERYWHERE - UPDATE - DOCUMENTED
- CONTINUOUS
DEMO APP - CREATE A BUCKET - ADD PHOTOS TO
BUCKET - START INSTANCE - PROVISION INSTANCE AND DEPLOY APP SOURCE: GIT CLONE HTTPS://GITHUB.COM/NDEMOOR/AWS-UGB-PHOTOAPP
PHASE 1 CREATE PRIVATE S3 BUCKET ADD POLICY: PHOTOS/ FOLDER
PUBLIC git checkout phase1
PHASE 2 ADD USER WITH PASSWORD GENERATE ACCESS KEYS TO
USE IN APP git checkout phase2
PHASE 3 ADD INSTANCE ADD SECURITY GROUP git checkout phase3
PHASE 4 PROVISION NEW INSTANCE WITH CFN-INIT ADD WAIT CONDITION
INSTALL + RUN APPLICATION git checkout phase4
ADVANCED - DELETE / UPDATE POLICIES - SUBSTACKS - CUSTOM
RESOURCES
PITFALLS - NO SANDBOX TO ‘TRY’ CHANGES - BASIC ERROR
CHECKING - NOT EVERYTHING CAN BE ‘UPDATED’ - LEARNING CURVE - BULKY JSON - SINGLE REGION
HOMEWORK - ELASTIC IP - ROUTE53 DNS RECORD POINTING TO
INSTANCE - CLOUDFRONT DISTRIBUTION FOR BUCKET CONTENT - AUTO-SCALING GROUP + ELB - PROVISION INSTANCE WITH CHEF/PUPPET/ANSIBLE
RESOURCES - AWS CLOUDFORMATION DOCS: HTTP://DOCS.AWS.AMAZON.COM/AWSCLOUDFORMATION/LATEST/USERGUIDE/WELCOME.HTML - SAMPLE TEMPLATES: HTTP://AWS.AMAZON.COM/CLOUDFORMATION/AWS-CLOUDFORMATION-TEMPLATES/
QUESTIONS? LEAVE FEEDBACK IN THE USER GROUP PAGE @NDEMOOR