Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/szarnyasg/ec2-bootstrap
https://github.com/szarnyasg/ec2-bootstrap
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/szarnyasg/ec2-bootstrap
- Owner: szarnyasg
- Created: 2022-03-05T20:41:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-19T13:38:59.000Z (about 1 year ago)
- Last Synced: 2024-11-25T05:45:26.669Z (about 2 months ago)
- Language: Shell
- Size: 57.6 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ec2-bootstrap
Script to bootstrap EC2 boxes for LDBC benchmark.
:warning: The script puts the public keys of me & a few collaborators on the machine.## Instance type
For `r5d` instances, use the following Fedora 34 Amazon image: `ami-086c1d77a774201ee`.
For `r6id` insteances, use the following Fedora 36 Amazon image:
`Fedora-Cloud-Base-36-1.5.x86_64-hvm-us-east-2-standard-0` (`ami-0ade0d6d051ddc27b`)## Setup
```bash
curl -s https://raw.githubusercontent.com/szarnyasg/ec2-bootstrap/main/bootstrap.sh | bash && \
~/ec2-bootstrap/init.sh
```The script will install the required packages, set up Docker and open a `tmux` session with additional installation/compilation jobs.
## Manual steps
You need to perform the following manual steps.
### Making Docker work
You need to log out and log in again to activate membership to the `docker` group.
### Log in to AWS CLI
```bash
aws configure
```### Rebooting
After rebooting, mount disks by running:
```bash
./mount-disks.sh
```## Terraform & Ansible
Alternatively, the EC2 instance can be deployed using Terraform and Ansible provisioning. See the `terraform` folder for the usage details.