Back to Cal

AWS

docs/self-hosting/deployments/aws.mdx

6.2.01.7 KB
Original Source

Deploying Cal.com on AWS


Manual Deployment

<Steps> <Step title="Prerequisites"> 1. Amazon Web Services account 2. Familiarity with AWS services and management console 3. Access to the Cal.com source code </Step> <Step title="AWS Environment Setup"> 1. Create an AWS Account: If not already set up, create an account on AWS. 2. Management Console: Log in to the AWS Management Console. </Step> <Step title="Creating AWS Resources"> 1. Create a New IAM User: Set up an IAM user with the necessary permissions for deploying and managing the application. 2. Set Up Required Services: Establish services like Amazon EC2, RDS for PostgreSQL, etc., as needed for your application. </Step> <Step title="Configuring Cal.com"> 1. Clone the Repository: Get the Cal.com repository onto your local environment. 2. Update Configuration: Modify the .env file to include your AWS resource details (like database endpoints). </Step> <Step title="Deploying on AWS"> 1. Deploy Application: Utilize AWS services such as EC2 or Elastic Beanstalk to deploy the Cal.com application. 2. Database Configuration: Set up and connect the RDS instance to your application. 3. Verify Deployment: Ensure the application is operational and accessible. </Step> <Step title="Post-Deployment Steps"> 1. DNS Setup: Update your DNS settings to point to your AWS deployment. 2. Monitoring and Scaling: Leverage AWS monitoring tools to keep track of your application's performance and scale resources accordingly. </Step> </Steps>

Best Practices

1. Adhere to AWS's recommended security practices.
2. Regularly update your deployment with the latest Cal.com releases.

Additional Resources

https://docs.aws.amazon.com/