• Runs on the JVM, which is supported by all major cloud providers. • Less boilerplate code than Java • The Spring framework supports Kotlin as a first class language. • Infrastructure as code providers support java, and therefore support Kotlin as a language for defining infrastructure. • Cloud providers either support Kotlin or Java as and SDK language. You can use the Java SDK from kotlin. • Kotlin supports co-routines (non-blocking asynchronous programming)
- Convert CDK code to cloudformation • cdk diff - Show you what is different from what is in the account. • cdk deploy - Deploy your infrastructure to your account. CDK Commands
using AWS CDK API Gateway Lambda Application Code Lambda • Final project can be found here: https://github.com/jangolano/lambda 10 | LEAN TECHNIQUES Snap Start serializes JVM based lambdas to disk when promoting a version. This reduces code start time for java based lambdas, therefore making the API faster.
are going to build: Infrastructure using AWS CDK ECS Service ECS Task Application Load Balancer Application Code Spring Boot Application • Final project can be found here: https://github.com/jangolano/fargate-api