Skip to content

Instantly share code, notes, and snippets.

@key-del-jeeinho
Created January 9, 2023 10:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save key-del-jeeinho/06b25f5fe2b2a8aa54aebda7b62f1a4e to your computer and use it in GitHub Desktop.
Save key-del-jeeinho/06b25f5fe2b2a8aa54aebda7b62f1a4e to your computer and use it in GitHub Desktop.
인프라까지 점령한 Chat GPT

Certainly! Here is a more detailed deployment plan for the API on AWS:

  1. Create an AWS account: Go to the AWS website and create an account.

  2. Choose a region: Choose the region where you want to host the API. It is recommended to choose a region that is geographically close to your users to minimize latency.

  3. Set up a virtual machine: Go to the EC2 dashboard and create a new instance. Choose an instance type that meets your requirements, such as CPU and memory.

  4. Install dependencies: Connect to the instance using SSH and install Java, Kotlin, and any other dependencies required to run the API.

  5. Deploy the API: Build the API using the ./gradlew build command, then copy the resulting jar file to the instance and run it using the java -jar command.

  6. Set up a domain name: Choose a domain name for the API and set up an A record in Route 53 to point to the instance.

  7. Set up HTTPS: Obtain an SSL certificate using the Certificate Manager and configure the instance to use HTTPS.

  8. Test the API: Test the API to ensure that it is working correctly.

  9. Set up monitoring and alerting: Set up CloudWatch alarms to monitor the API and be notified of any issues.

I hope this helps! Let me know if you have any questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment