Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29539

LaunchConfiguration Userdata vs AWS::CloudFormation::Init

$
0
0

In a cloudformation template, which are the differences between defining the initializazion script into the Userdata section of a LaunchConfiguration resource, or by using AWS::CloudFormation::Init metadata? In which cases should we prefer one over the other? Let's suppose I have to setup the EC2 instaces, based on this LaunchConfiguration, installing tomcat and defining some config file, and maybe copying some packages from an S3 bucket. It's better doing it via a Userdata bash script or via an AWS::CloudFormation::Init section?

Thanks.


Viewing all articles
Browse latest Browse all 29539

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>