Provision an Ubuntu-based EC2 instance with CDK for personal/team use is good but I think it's not best practice for automate as we can use aws-cdk container image lambda function to trigger cdk deploy, it's better saving cost and best security
I am not sure I follow - do you mean when you need to decided EC2 vs Container? My default tends to be ECS containers these days, but there are still plenty of times when I need to use EC2 instances, and Ubuntu is my preference when I cannot use Amazon Linux 2.
Provision an Ubuntu-based EC2 instance with CDK for personal/team use is good but I think it's not best practice for automate as we can use aws-cdk container image lambda function to trigger
cdk deploy
, it's better saving cost and best securityI am not sure I follow - do you mean when you need to decided EC2 vs Container? My default tends to be ECS containers these days, but there are still plenty of times when I need to use EC2 instances, and Ubuntu is my preference when I cannot use Amazon Linux 2.
Nope I mean server-less by using AWS lambda function container image