Singular-ID is a document storage system where users can store and access documents using unique user IDs. Users have the flexibility to change their unique IDs at will.
- Node.js: Backend Runtime
- Express.js: Backend API
- MongoDB: Database
- HTML
- CSS
- JavaScript
Before setting up the infrastructure, ensure that you have configured the AWS CLI and installed Terraform on your system. Install Terraform
-
Navigate to the
iac/terraform
directory:cd iac/terraform
-
Initialize the Terraform backend (use the latest version):
terraform init
-
Check the resources to be created:
terraform plan
-
Apply the changes and provision the infrastructure defined in
main.tf
:terraform apply
Before managing configurations, ensure that you have installed Ansible on your local system. Install Ansible
-
Navigate to the
iac/ansible
directory:cd iac/ansible
-
Manage the configurations using the following command:
ansible-playbook -i hosts.ini to-do.yaml
You can SSH into the instance to check the configurations:
ssh -i "Ansible_access.pem" [email protected]