Cloudbolt Support will be closed on Thurs Nov 26 in observance of Thanksgiving

Remote execution with Amazon Linux

The Problem

Amazon Linux AMIs don't ship with scp installed, therefore CloudBolt is unable to execute remote scripts as part of the provisioning process.

The Solution

Add an "AWS User Data" parameter to your AWS-backed environment, that tells AWS EC2 to install the openssh-clients package as part of provisioning. Here's an example of how that script looks:

#cloud-config
repo_update: true
repo_upgrade: all

packages:
 - openssh-clients

 Add this as the only option to this parameter and CloudBolt will pass this to AWS when provisioning your VM. For more information on user-data and cloud-init scripts in AWS, see: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html

 

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.