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
610
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
210
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
630
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
ASP.NET Core の OpenAPIサポート
h455h1
0
120
Запуск 1С:УХ в крупном энтерпрайзе: мечта и реальность ПМа
lamodatech
0
960
Swiftコンパイラ超入門+async関数の仕組み
shiz
0
180
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
420
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
220
カンファレンス動画鑑賞会のススメ / Osaka.swift #1
hironytic
0
170
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
9
2.4k
情報漏洩させないための設計
kubotak
5
1.3k
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
7
1.4k
歴史と現在から考えるスケーラブルなソフトウェア開発のプラクティス
i10416
0
300
為你自己學 Python
eddie
0
520
ErdMap: Thinking about a map for Rails applications
makicamel
1
660
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Building an army of robots
kneath
302
45k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
It's Worth the Effort
3n
183
28k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Designing for humans not robots
tammielis
250
25k
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