Upload
others
View
7
Download
0
Embed Size (px)
Citation preview
OpsWorks and CDKBrock TubreTECHNICAL INSTRUCTOR
AWS OpsWorksOPSWORKS AND CDK
AWS OpsWorksOPSWORKS AND CDK
AWS OpsWorks
Configuration management services that provides managed instances of Chef and
Puppet.
AWS OpsWorks
OpsWorks for Chef Automation1
2 OpsWorks for Puppet Enterprise
3 OpsWorks Stacks
OPSWORKS AND CDK
Running a Stack in a VPC
V P C
P r i v a t e S u b n e t
App servers/nodes
P r i v a t e S u b n e t
Automation server
P u b l i c S u b n e t
NAT gatewayLinux Repositories
OPSWORKS AND CDK
Running a Stack in a VPC
V P C
P r i v a t e S u b n e t
App servers/nodes
P r i v a t e S u b n e t
Automation server
S3 Buckets (Provided by AWS)
Agent buckets
Asset buckets
Log buckets
DNA buckets
VPC EndpointP u b l i c S u b n e t
OPSWORKS AND CDK
Running a Stack in a VPC
V P C
IGW
P r i v a t e S u b n e t
App servers/nodes
P r i v a t e S u b n e t
Automation server
P u b l i c S u b n e tVPC Endpoint ELBS3 Buckets (Provided by AWS)
Agent buckets
Asset buckets
Log buckets
DNA buckets
OPSWORKS AND CDK
Running a Stack in a VPC
V P C
IGW
P r i v a t e S u b n e t
App servers/nodes
P r i v a t e S u b n e t
Automation server
P u b l i c S u b n e t
Bastion host
VPC Endpoint ELBS3 Buckets (Provided by AWS)
Agent buckets
Asset buckets
Log buckets
DNA buckets
OPSWORKS AND CDK
AWS Cloud Development Kit
Software development framework to model and provision your cloud infrastructure using
familiar programming languages.
CDK
private createVPC(scope: cdk.Construct) { const vpc = new Vpc(scope, ‘Test-VPC', { cidr: "10.0.0.0/16", }); // Iterate the private subnets const selection = vpc.selectSubnets({ subnetType: SubnetType.PRIVATE }); for (const subnet of selection.subnets) { // ... } }
$ cdk deploy
OPSWORKS AND CDK