Wordpress deployed using ECS and RDS
This sample requires a valid LocalStack for AWS license. Your license provides a LOCALSTACK_AUTH_TOKEN to activate LocalStack.
To install python requirements and developer tools (cdklocal, awslocal) into a venv run:
make install
Start LocalStack for AWS with the LOCALSTACK_AUTH_TOKEN pre-configured:
export LOCALSTACK_AUTH_TOKEN=<your-auth-token>
make start
make readyThen, to deploy the CDK app:
make deploy-local
After running make install, when you activate the virtual environment with
source .venv/bin/activate
you get the *local commands:
cdklocal
awslocal
You can for example get the name of the bucket that was created and whose name was added as an SSM parameter:
awslocal ssm get-parameter --name /artifacts/bucket
Or list the created lambdas:
awslocal lambda list-functions