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
600
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
170
Redis, your data on steroids
ndemoor
3
200
A Timeline of MongoDB
ndemoor
1
510
Phoenix Servers with Docker
ndemoor
3
220
Scaling Node with Docker + Nginx
ndemoor
3
850
What is Docker?
ndemoor
6
620
Greenup, Hackathon Project
ndemoor
1
72
Phoenix Servers with Packer
ndemoor
9
1k
Application Lifescycle
ndemoor
5
130
Other Decks in Programming
See All in Programming
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
270
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
170
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
190
menu基盤チームによるGoogle Cloudの活用事例~Application Integration, Cloud Tasks編~
yoshifumi_ishikura
0
110
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
260
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
270
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
160
快速入門可觀測性
blueswen
0
380
今年のアップデートで振り返るCDKセキュリティのシフトレフト/2024-cdk-security-shift-left
tomoki10
0
210
fs2-io を試してたらバグを見つけて直した話
chencmd
0
240
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
140
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
840
Featured
See All Featured
Building an army of robots
kneath
302
44k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
Writing Fast Ruby
sferik
628
61k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
RailsConf 2023
tenderlove
29
940
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
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