Spaces:
Runtime error
Runtime error
Soutrik Chowdhury
commited on
Commit
•
9c32722
1
Parent(s):
54d0f60
basic aws setup
Browse files- .gitignore +2 -0
- setup_aws_ci.md +17 -0
.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
aws/
|
2 |
+
*.zip
|
setup_aws_ci.md
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
## __PreRequisites__:
|
2 |
+
|
3 |
+
* Have an aws account with a user that has the necessary permissions
|
4 |
+
* Have the access key either on env variables or in the github actions secrets
|
5 |
+
* Have an ec2 runner instance running/created in the aws account
|
6 |
+
* Have a s3 bucket created in the aws account
|
7 |
+
* Have aws container registry created in the aws account
|
8 |
+
|
9 |
+
## __Local VM setup__:
|
10 |
+
* Install aws configure and setup the access key and secret key and the right zone
|
11 |
+
```bash
|
12 |
+
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
|
13 |
+
unzip awscliv2.zip
|
14 |
+
sudo ./aws/install
|
15 |
+
aws configure
|
16 |
+
```
|
17 |
+
|