6 aws services / serverless ci cd

19
6 AWS Services = Serverless CI/CD

Upload: fernando-honig

Post on 21-Apr-2017

42 views

Category:

Internet


1 download

TRANSCRIPT

Page 1: 6 AWS Services / Serverless CI CD

6 AWS Services = Serverless CI/CD

Page 2: 6 AWS Services / Serverless CI CD

/you

Who are you?

Page 3: 6 AWS Services / Serverless CI CD

/me

Fernando HönigPrincipal Cloud Evangelist

@[email protected]

AWS Solutions Architect Professional Certified AWS Developer CertifiedAWS SysOps Certified

Page 4: 6 AWS Services / Serverless CI CD

Goal?Setup a CD Pipeline and have fun!

/today

Page 5: 6 AWS Services / Serverless CI CD

What?

Page 6: 6 AWS Services / Serverless CI CD

How?

6 AWS Services

CodePipeline CodeBuild CloudFormation S3 API Gateway Lambda

Page 7: 6 AWS Services / Serverless CI CD

AWS CodePipeline

Page 8: 6 AWS Services / Serverless CI CD

AWS CodeBuild

Build & Test your code

Configurable Settings

Continuous Integration

Security & Permissions

Monitoring

Page 9: 6 AWS Services / Serverless CI CD

AWS CloudFormation

Supports wide range of AWS Resources

Easy to Use

Infrastructure as Code

Page 10: 6 AWS Services / Serverless CI CD

AWS S3

Simple

Durable

Scalable

Secure

Available

Low Cost

Integrated

Easy to Manage

Page 11: 6 AWS Services / Serverless CI CD

AWS API Gateway

Low cost & Efficient

Performance at any scale

Run APIs without Servers

Page 12: 6 AWS Services / Serverless CI CD

AWS Lambda

Page 13: 6 AWS Services / Serverless CI CD

Wait, wait.. you said Serverless, where is it?

Serverless Lambda

ServerlessFaaS (Function as a Service)

BaaS (Backend as a Service)

Architectures and Patterns

LambdaCloudFunctions

APIsS3

Authentication

Page 14: 6 AWS Services / Serverless CI CD

Show me the pipeline!

Get the code from

Build a .zip Package and pushes to S3

Creates and Validates the changes to the CF stack

Executes these changes using CloudFormation

Page 15: 6 AWS Services / Serverless CI CD

Show me the pipeline!

1 - Static Websitehttps://goo.gl/LDxDeI

Page 16: 6 AWS Services / Serverless CI CD

Show me the pipeline!

2 - Github Repositoryhttps://github.com/fernandohonig/aws-serverless-api

Page 17: 6 AWS Services / Serverless CI CD

Show me the pipeline!

3 - AWS CodePipelinehttps://console.aws.amazon.com/codepipeline/home

Page 18: 6 AWS Services / Serverless CI CD

Show me the pipeline!

Demohttps://goo.gl/LDxDeI

Page 19: 6 AWS Services / Serverless CI CD

Thank You! Questions?

https://[email protected]@contino.io