AWS Certified Solutions Architect - Professional 2020

Sign Up Free or Log In to participate!

autoscaling lab for professional architect – needed to modify userdata with Amazon Linux 2 AMI

For the autoscaling lab, the package "stress" seems to now require the EPEL repo if you are using Amazon Linux 2.  I changed the userdata script as follows:

!/bin/bash

yum update -y

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -P /tmp

sudo yum install -y /tmp/epel-release-latest-7.noarch.rpm

yum install -y stress

/usr/bin/stress –cpu 8 –timeout 10m

1 Answers

Ahhh, yes.  Thanks Dave!   Just pushed an update.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?