AWS resources provisioning for deploying “Raven”
docker_image_uri
hosted by Ravenbackend.tf
file:
providers.tf
, configure the AWS provider with the required region and credentials:
variables.tf
file and set appropriate values for the variables. Modify defaults as needed:
yes
when prompted.
ec2.tf
, the script provisions EC2 instances, attaches IAM roles, and configures security groups to allow necessary traffic.clickhouse.tf
file.elasticache.tf
, it sets up Redis with specified node types and cluster settings, ensuring proper subnet and security group configurations.redis_host
and redis_port
which will then be passed to the Lambda as an ENV variables.rds.tf
file includes configurations for instance type, storage, and security groups, tailored to meet the requirements of the SaaS product.lambda.tf
, the configuration includes creating Lambda functions, assigning IAM roles, and setting up S3 event triggers.lambda_arn
which will be used to configure AWS S3 bucket to send events to the Lambda.lambda_sg_id
which will be used to allow the Lambda to access the ElastiCache/Redis database.yes
when prompted.
For more detailed information, refer to the GitLab repository.