Skip to content

Commit 6267986

Browse files
committed
chore: updated the Makefile and optimized the configs
1 parent 329ce43 commit 6267986

File tree

4 files changed

+5
-40
lines changed

4 files changed

+5
-40
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ cluster:
77
@echo "\n========== Creating cluster... =========="
88
eksctl deployment/k8s/create cluster.yaml
99

10+
iam: pod-identity-agent gw-pod-identity
11+
1012
pod-identity-agent:
1113
@echo "Prequisits...."
1214
eksctl create addon --cluster br-gw-demo --name eks-pod-identity-agent

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ This is a fork project from [Bedrock Access Gateway](https://github.com/aws-samp
1010
- [x] AzureOpenAI client
1111
- [x] Deployment on Amazon EKS
1212

13-
1413
## Setup
1514
### Happy path for testing
15+
Assuming you already have an EKS cluster running, otherwise you can run `make cluster` to create a brand new.
16+
1617
First set up the permission for the Bedrock Proxy API. To simplify the process, we are leveraging the [EKS Pod Identity](https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html) feature, and using the EKS CLI tool - [eksctl](https://eksctl.io/).
1718

1819
```bash
19-
kubectl create ns bedrock-proxy-api
2020
eksctl create addon --cluster <cluster-name> --name eks-pod-identity-agent
2121
eksctl create podidentityassociation \
2222
--cluster <cluster-name> \

deployment/k8s/cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ iam:
2323
serviceAccountName: bedrock-proxy-api
2424
permissionPolicyARNs:
2525
- arn:aws:iam::aws:policy/AmazonBedrockFullAccess
26-
26+
- arn:aws:iam::aws:policy/AmazonSSMReadOnlyAccess
2727

2828

2929
vpc:

deployment/k8s/setup.sh

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)