Skip to content

Commit

Permalink
Merge pull request #14 from venture23-aleo/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
naneey authored Sep 18, 2024
2 parents d673097 + f36b862 commit 84230ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions scripts/aws/DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ The attestor service can be deployed using two method
1. From local device
> To run from a local device, please make sure the AWS CLI tool and AWS access credentials have been correctly configured.
[Follow steps here.](#to-configure-aws-access)
2. Using AWS CloudShell from the AWS Management Console UI(Recommended)
2. Using AWS CloudShell from the AWS Management Console UI(**Recommended**)

## Pre-Deployment steps
1. MTLS certiciate/ key and CA certificate \
Expand Down Expand Up @@ -190,7 +190,9 @@ Reference: [Creating and Attaching IAM Policy to user](https://docs.aws.amazon.c
```
Verify the logs in services
```bash
docker logs -f attestor-chainservice-1
docker exec -it <attestor-chainservice-id> sh
cd ../logs
cat verulink.log
```
## Troubleshooting
Expand Down
4 changes: 2 additions & 2 deletions scripts/aws/deploy_attestor.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ def get_instance_id():
if response.status_code == 200:
return response.text
else:
raise Exception("Unable to retrieve instance-id.")
print("Unable to retrieve instance-id.")
except requests.RequestException as e:
print(f"Error fetching instance-id: {e}")
random_id = ''.join(random.choices(string.ascii_lowercase + string.digits, k=10))
Expand Down Expand Up @@ -890,4 +890,4 @@ def get_instance_id():
with open("./.temp/config.done", 'w') as file:
file.write('OK')
print("### ☁️ Attestor node configuration complete ✅")
deploy_attestor()
deploy_attestor()

0 comments on commit 84230ff

Please sign in to comment.