Skip to content

Commit f28ed98

Browse files
committed
aws EKS deployed
1 parent a83ea73 commit f28ed98

7,497 files changed

Lines changed: 2207870 additions & 16 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ MLOPS_1_RESERVATION.egg-info
1313

1414
################## Removed cached files ##################
1515
# Uncomment the following lines to remove cached files from the repository
16-
# git rm -r --cached config/__pycache__/
16+
# git rm -r --cached config/__pycache__/
17+
18+
vendor/*

Dockerfile

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,5 @@ EXPOSE 5000
2323
# Command to run the app
2424
CMD ["python", "application.py"]
2525

26-
from flask import Flask
27-
28-
app = Flask(__name__)
29-
30-
@app.route('/')
31-
def home():
32-
return "Hello, AWS Lambda!"
33-
34-
from application import app
35-
36-
def handler(event, context):
37-
from serverless_wsgi import handle_request
38-
return handle_request(app, event, context)
39-
4026

4127

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
![alt text](image.png) keys
1+
![alt text](image.png) keys
2+
LIVE at: http://a4d76dacd85884eaaa2c0f1b1e173b67-1601615365.us-east-1.elb.amazonaws.com

aws/README.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# AWS CLI v2
2+
3+
This bundle contains a built executable of the AWS CLI v2.
4+
5+
## Installation
6+
7+
To install the AWS CLI v2, run the `install` script:
8+
```
9+
$ sudo ./install
10+
You can now run: /usr/local/bin/aws --version
11+
```
12+
This will install the AWS CLI v2 at `/usr/local/bin/aws`. Assuming
13+
`/usr/local/bin` is on your `PATH`, you can now run:
14+
```
15+
$ aws --version
16+
```
17+
18+
19+
### Installing without sudo
20+
21+
If you don't have ``sudo`` permissions or want to install the AWS
22+
CLI v2 only for the current user, run the `install` script with the `-b`
23+
and `-i` options:
24+
```
25+
$ ./install -i ~/.local/aws-cli -b ~/.local/bin
26+
```
27+
This will install the AWS CLI v2 in `~/.local/aws-cli` and create
28+
symlinks for `aws` and `aws_completer` in `~/.local/bin`. For more
29+
information about these options, run the `install` script with `-h`:
30+
```
31+
$ ./install -h
32+
```
33+
34+
### Updating
35+
36+
If you run the `install` script and there is a previously installed version
37+
of the AWS CLI v2, the script will error out. To update to the version included
38+
in this bundle, run the `install` script with `--update`:
39+
```
40+
$ sudo ./install --update
41+
```
42+
43+
44+
### Removing the installation
45+
46+
To remove the AWS CLI v2, delete the its installation and symlinks:
47+
```
48+
$ sudo rm -rf /usr/local/aws-cli
49+
$ sudo rm /usr/local/bin/aws
50+
$ sudo rm /usr/local/bin/aws_completer
51+
```
52+
Note if you installed the AWS CLI v2 using the `-b` or `-i` options, you will
53+
need to remove the installation and the symlinks in the directories you
54+
specified.

0 commit comments

Comments
 (0)