### AWS CDK and CDK8S服務更新 <!-- Put the link to this slide here so people can follow --> slide: https://hackmd.io/@pahud/taiwan-cdk-meetup-01-pahud/ twitter: #TaiwanCDKMeetup --- ## Pahud Hsieh ![](https://i.imgur.com/3VLGVvK.png =300x) - AWS Developer Advocate - Focus on Serverless, Container and Dev Tools - Fan of Road Trips - AWS CDK contributor(#10/375) --- ## Why We Need a ## Regular Meetup ---- ## Public Speeches ---- ## Workshops ---- ## Webinars ---- ## VLOG --- ## Recent Updates on AWS CDK --- ### RDS Proxy #### Creating a Database Proxy ```ts import * as cdk from '@aws-cdk/core'; import * as ec2 from '@aws-cdk/aws-ec2'; import * as rds from '@aws-cdk/aws-rds'; import * as secrets from '@aws-cdk/aws-secretsmanager'; const vpc: ec2.IVpc = ...; const securityGroup: ec2.ISecurityGroup = ...; const secret: secrets.ISecret = ...; const dbInstance: rds.IDatabaseInstance = ...; const proxy = dbInstance.addProxy('proxy', { connectionBorrowTimeout: cdk.Duration.seconds(30), maxConnectionsPercent: 50, secret, vpc, }); ``` --- ### Lambda Filesystem ```ts const fn = new lambda.Function(stack, 'MyLambda', { code, handler, runtime, vpc, // mount the access point to /mnt/msg in the lambda runtime enironment filesystem: lambda.FileSystem.fromEfsAccessPoint(accessPoint, '/mnt/msg'), }); ``` --- #### Filesystem Access ![](https://i.imgur.com/ActhqUo.png =900x) --- ## API Gateway HTTP API ## Custom Domain --- #### default domain mapping with imported ACM #### https://example.com ![](https://i.imgur.com/GpvMxN9.png) --- #### https://example.com/beta ![](https://i.imgur.com/qAmetJL.png) --- #### https://example.com/demo #### (Another HTTP API) ![](https://i.imgur.com/auCOrpu.png) --- ## Recent Updates on CDK8S --- ![](https://i.imgur.com/GLs0uaO.png =700x) --- ![](https://i.imgur.com/xqdH4AY.png =900x) --- ### At a glance ![](https://i.imgur.com/ZnMo0V3.png =500x) --- ![](https://i.imgur.com/u6jg56A.png =900x) --- AWS Taipei Summit Online 2020 ![](https://i.imgur.com/IElnsLv.jpg) ###### https://pages.awscloud.com/aws-summit-online-taipei-registration.html --- ### One More Thing --- https://pahud.dev ![](https://i.imgur.com/8wp8IUQ.jpg) --- ## Thank You ![](https://i.imgur.com/QybVylq.png =100x) @pahudnet
{"title":"AWS CDK and CDK8S Service Update","tags":"AWS, CDK, CDK8S","description":"View the slide with \"Slide Mode\".","slideOptions":{"transition":"fade"}}
    638 views