1 Answer
- Newest
- Most votes
- Most comments
0
I would ask:
- Does your instance have access to the internet (or apt repos to fetch from)?
- How long did you wait?
The following user data worked for me on the Ubuntu 18.04 LTS AMI:
UserData:
Fn::Base64: !Sub |
#!/bin/bash -xe
echo "Started" > /tmp/1234
apt-get update -y
apt-get upgrade -y
apt-get install python3.8 -y
apt-get install python3-pip -y
pip3 install --no-cache-dir NumPy
pip3 install --no-cache-dir awscli
aws sts get-caller-identity > /tmp/2345
Relevant content
- Accepted Answerasked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a month ago