Skip to content

Commit 3673a58

Browse files
Add README.md for AWS setup instructions including MinIO installation and AWS CLI access
1 parent d0c9da0 commit 3673a58

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

local-runtime/README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# create aws
2+
```bash
3+
brew install minio
4+
5+
mkdir ~/minio-data
6+
7+
# http://localhost:9001 for minio web ui
8+
minio server ~/minio-data --console-address ":9001"
9+
10+
# API: http://localhost:9000 http://127.0.0.1:9000
11+
# RootUser: minioadmin
12+
# RootPass: minioadmin
13+
# WebUI: http://localhost:9001 http://127.0.0.1:9001
14+
# RootUser: minioadmin
15+
# RootPass: minioadmin
16+
17+
18+
# aws cli access
19+
export AWS_ENDPOINT_URL_S3=http://localhost:9000
20+
export AWS_ACCESS_KEY_ID=minioadmin
21+
export AWS_SECRET_ACCESS_KEY=minioadmin
22+
export AWS_DEFAULT_REGION=us-east-1
23+
24+
# test minio access with aws cli
25+
26+
# create a bucket:
27+
aws s3 mb s3://test-bucket
28+
echo "text here" > test.txt
29+
aws s3 sync . s3://test-bucket
30+
# aws s3 --endpoint-url http://localhost:9000 mb s3://test-bucket
31+
32+
aws s3 ls s3://test-bucket
33+
```
34+
35+
36+
# run kind cluster
37+
38+
```bash
39+
kind create kdiffcluster
40+
41+
42+
43+
```
44+
45+
#
46+
47+
```bash
48+
49+
50+
51+
```

0 commit comments

Comments
 (0)