DEV Community

Discussion on: AWS open source news and updates #79

Collapse
 
vumdao profile image
🚀 Vu Dao 🚀

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

Collapse
 
094459 profile image
Ricardo Sueiras

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.

Collapse
 
vumdao profile image
🚀 Vu Dao 🚀

Nope I mean server-less by using AWS lambda function container image