Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host Backend on AWS #88

Merged
merged 63 commits into from
May 22, 2024

Conversation

MehulKChaudhari
Copy link
Member

@MehulKChaudhari MehulKChaudhari commented Feb 2, 2024

  • This PR sets up workflow to push the springboot backend docker image to ECR.
  • then pull the docker Image from ECR into EC2 instance and run the server.
image

For admin use

How to setup ECR registry

  • visit the ECR dashboard
  • Create a public registry

How to setup a EC2 instance

  • Visit EC2 dashboard
  • In application OS select ubuntu lastest free tier
image
  • Instance type should be t2.micro
image
  • Network settings
image
  • Configure storage Select 30GiB it serve our need and it's free tier
  • launch instance

Now after launching the instance successfully

  • Connect to the instance with SSH or EC2 Instance connect
  • After connecting install docker in EC2 sudo snap install docker

Now hit http://ec2-public-ip:8080/v1/health to check if the server is running or not

@MehulKChaudhari MehulKChaudhari marked this pull request as draft February 2, 2024 09:20
lakshayman
lakshayman previously approved these changes Mar 12, 2024
iamitprakash
iamitprakash previously approved these changes Mar 24, 2024
@iamitprakash iamitprakash self-requested a review March 24, 2024 13:27
@MehulKChaudhari MehulKChaudhari dismissed stale reviews from iamitprakash and lakshayman via 224412f March 24, 2024 17:12
MehulKChaudhari and others added 18 commits May 8, 2024 17:00
* update readme

* Update README.md

Co-authored-by: Satyam Bajpai <[email protected]>

* Update README.md

Co-authored-by: Satyam Bajpai <[email protected]>

* Update README.md

Co-authored-by: Satyam Bajpai <[email protected]>

* update auth link

* update tokens

* format code

* update public key

* update public key

* update tokens

* fix readme

* Update README.md

Co-authored-by: Akhil Khubchandani <[email protected]>

* address review comments

---------

Co-authored-by: Satyam Bajpai <[email protected]>
Co-authored-by: Akhil Khubchandani <[email protected]>
* Added integration tests for endorsement service

* Added test suite for integration tests

* testing separation of unit and integration ci and pomxml

* Addressed review comments and added build step in CI

* Fix API contract and added pagination assertions to integration tests

* Fixing typos and addressing review comments

* Addressed review comments

* Addressed review comments

* Addressed review comments

---------

Co-authored-by: akhil <[email protected]>
@prakashchoudhary07 prakashchoudhary07 merged commit d4b18a9 into Real-Dev-Squad:develop May 22, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants