Create a gist now

Instantly share code, notes, and snippets.

an aws launch config creation script
#!/bin/bash
LAUNCH_CONFIG_NAME="app-launch-config"
IMAGE_ID="ami-55198965"
INSTNCE_TYPE="c1.medium"
KEY="codepen_west"
GROUP="default"
USER_DATA_FILE="chef_userdata.sh"
MONITORING_ENABLED="--monitoring-enabled"
as-create-launch-config $LAUNCH_CONFIG_NAME \
--image-id $IMAGE_ID \
--instance-type $INSTNCE_TYPE \
--group $GROUP \
--user-data-file $USER_DATA_FILE \
$MONITORING_ENABLED
as-describe-launch-configs $LAUNCH_CONFIG_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment