Slide 1

Slide 1 text

Building Serverless apps with IaC Jones Zachariah Noel N Cloud Architect - Serverless Mobil80 Solutions and Services Pvt Ltd AWS Community Builder

Slide 2

Slide 2 text

About me ● Cloud Architect - Serverless @ Mobil80 Solutions and Services Pvt Ltd ● AWS Community Builder ● Serverless advocate ● Hobbyist photographer and baker

Slide 3

Slide 3 text

Agenda ● Looking into Infrastructure as Code (IaC) ● How IaC helps ● IaC providers for Serverless ● Understanding SAM CLI ● Demo with SAM CLI

Slide 4

Slide 4 text

Looking into Infrastructure as Code (IaC) ● Single source of truth. ● Managing and provisioning resources on the cloud with code. ● Easy to replicate to multiple instances. ● Best known method for CI/CD pipelines.

Slide 5

Slide 5 text

How IaC helps ● Faster deployments / re-deployments / rollbacks. ● Elimination of manual infrastructure provisioning. ● Test in multiple instances / environments. ● Consistent configuration across environments. ● Minimized human bound errors. ● Improvised development practice.

Slide 6

Slide 6 text

IaC providers for Serverless ● AWS CloudFormation ● Serverless Application Model (SAM) CLI ● AWS Cloud Development Kit (CDK) ● AWS Amplify CLI ● Serverless Framework ● Terraform

Slide 7

Slide 7 text

Before IaC After IaC

Slide 8

Slide 8 text

Understanding SAM CLI ● Serverless Application Model (SAM) CLI is an open source framework. ● Uses YAML template for AWS resource provisions. ● Powered by AWS CloudFormation. ● CLI options for build - deploy to the cloud, sync infrastructure changes to cloud, building CI/CD pipelines.

Slide 9

Slide 9 text

Demo with SAM CLI

Slide 10

Slide 10 text

Thank you! https://zachjonesnoel.com @zachjonesnoel zachjonesnoel zachjonesnoel jones-zachariah-noel-n