Prerequisites
- An AWS account
- VPC setup with subnets in desired location
Create an Access Key
For Nodepilot to be able to crete and manage resources on your AWS account, you need to create an access key. You can create an access key by following the instructions.- AWS Console
- AWS Cli
Steps to Create AWS User
- Login to your AWS account.
- Open IAM console https://console.aws.amazon.com/iamv2/home
- IAM → From left menu, select users → Click
Add usersButton. User Name:scale3-nodepilot - Click next and select the option to attch policies directly. Search and select AmazonEC2FullAccess. Once the permission is added click next and create the user.
[OPTIONAL] If you want to restrict access and use a custom policy instead of giving full access
[OPTIONAL] If you want to restrict access and use a custom policy instead of giving full access
Steps to Create AWS Access Key
- Go to user’s tab on IAM console, search for user
scale3-nodepilotand select it. - Click on
Security Credentialstab and clickCreate Access Keybutton. - From the options select third party service and check the box for
Programmatic access. - Click next, It’s optional to fill anything for tags and click create access key.
- Download the CSV file and keep it safe. You will need it later.
Inputs to Scale3 Nodepilot
Nodepilot requires some inputs to run the setup. The following are the inputs that you need to provide:Deleting the User and Policy
If you want to remove Nodepilot access, you have to delete the access key, user or permissions that were created.- AWS Console
- AWS Cli
Steps to Delete AWS User
- Login to your AWS account.
- Open IAM console https://console.aws.amazon.com/iamv2/home
- IAM → From left menu, select users → Search for
scale3-nodepilotuser and select it. - Click on
Security Credentialstab and clickDelete Access Keybutton. - Click on
Permissionstab and clickDetach Policybutton. - Click on
Delete Userbutton to delete the user.
Resources Provisioned
- EC2 Instance with 50 GB of GP3 EBS
- GP3 EBS Volume (size depends on choosen chain)
- Two Security Groups
- Allow SSH from Nodepilot IP
- Allow traffic to required ports from anywhere
- Key Pair