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
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
740
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
4
260
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
1
370
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
たのしいparse.y
ydah
3
120
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
180
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
740
あれやってみてー駆動から成長を加速させる / areyattemite-driven
nashiusagi
1
200
Go の GC の不得意な部分を克服したい
taiyow
2
780
Security_for_introducing_eBPF
kentatada
0
110
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
210
return文におけるstd::moveについて
onihusube
1
1.1k
Featured
See All Featured
Done Done
chrislema
181
16k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Speed Design
sergeychernyshev
25
670
Bash Introduction
62gerente
608
210k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Optimising Largest Contentful Paint
csswizardry
33
3k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
We Have a Design System, Now What?
morganepeng
51
7.3k
Site-Speed That Sticks
csswizardry
2
190
BBQ
matthewcrist
85
9.4k
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