From 702e46b53d4f7a130eab4d0e6480291037896290 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Thu, 7 Mar 2024 17:50:14 -0800 Subject: [PATCH] (build) stack with db --- deploy/just_ec2.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/deploy/just_ec2.yaml b/deploy/just_ec2.yaml index 5c51233ddaf..3097b6be0f0 100644 --- a/deploy/just_ec2.yaml +++ b/deploy/just_ec2.yaml @@ -1,8 +1,17 @@ --- Resources: - MyEC2Instance: + LiteLLMServer: Type: "AWS::EC2::Instance" Properties: AvailabilityZone: "us-east-1a" ImageId: "ami-0f403e3180720dd7e" # Replace with your desired AMI ID InstanceType: "t2.micro" + LiteLLMDB: + Type: "AWS::RDS::DBInstance" + Properties: + AllocatedStorage: 5 + Engine: "postgres" + MasterUsername: "litellmAdmin" # Replace with your desired master username + MasterUserPassword: "litellmPassword" # Replace with your desired secure password + DBInstanceClass: "db.t3.micro" + AvailabilityZone: "us-east-1a"