Handout Deploy Infrastructure As A Code On AWS
Handout Deploy Infrastructure As A Code On AWS
Deploy Infrastructure
as a Code on AWS
Nelli Lovchikova
Solutions Architect Manager
Amazon Web Services
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
1. Infrastructure as a code (IaC) overview
2. AWS CloudFormation
5. Recap
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Challenge: Environmental Drift
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Challenge: Human Error
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Infrastructure as a code (IaC)
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Evolution of Infrastructure as Code (IaC)
Abstractions
Generators
Declarative
Wikis, playbooks,
ask-Bob-he-knows
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS CloudFormation
Create stack
using API via AWS
CloudFormation
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Cloud Development Kit (CDK)
App
Stack (s)
Construct Construct
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Development workflow
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Construct levels
L3 Patterns
L2 AWS Constructs
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Level 1
cdk synth
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Level 2
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Level 3
AWS VPC Elastic Load Balancer AWS Fargate Amazon ECS task
definition
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Terraform
Terraform
provider
Target API
Terraform
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Terraform configuration
A Terraform configuration is a
complete document in the
Terraform language that tells
Terraform how to manage a given
collection of infrastructure.
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS CDK supports Terraform
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Conclusion
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Next steps: Get hands-on
1. https://github.com/aws-cloudformation
2. https://github.com/aws/aws-cdk
3. https://github.com/aws-samples/aws-cdk-examples
4. https://cdkworkshop.com/
5. https://docs.aws.amazon.com/cdk/api/v2/docs/aws-construct-library.html
6. https://cdkworkshop.com/20-typescript/70-advanced-topics/200-pipelines/2000-create-repo.html
7. https://www.hashicorp.com/blog/cdk-for-terraform-now-generally-available
8. https://developer.hashicorp.com/terraform/tutorials/cdktf
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Visit the AWS Modern Applications Resource Hub
Dive deeper with these resources to help you innovate fast, reduce risk, and accelerate time to market
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Training & Certification
Access 600+ free digital courses with AWS Skill Builder
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you for attending
AWS Builders Online Series
We hope you found it interesting! A kind reminder to complete the survey.
Let us know what you thought of today’s event and how we can improve the event
experience for you in the future.
[email protected]
twitter.com/AWSCloud
facebook.com/AmazonWebServices
youtube.com/user/AmazonWebServices
linkedin.com/company/amazon-web-services
twitch.tv/aws
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
Nelli Lovchikova
Solutions Architect Manager
Amazon Web Services
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.