Prerequisites
Progress checklist
Overview
Section titled “Overview”Everything goes through ./scripts/demo.sh. You need permission to create S3
buckets, IAM roles, VPC endpoints, Lambda/ECR, and (for prove) EC2 + SSM. Each
Region gets two probe AMIs: Amazon Linux 2023 and Ubuntu 24.04.
AWS CLI and Region
Section titled “AWS CLI and Region”Install AWS CLI v2 if you do not have it yet.
brew install awscli# already installed:brew upgrade awsclicurl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"unzip awscliv2.zipsudo ./aws/install# already installed:sudo ./aws/install --updateCheck the version and that credentials work:
aws --versionaws sts get-caller-identityPrimary Region is ap-southeast-2 (Sydney). Replica is ap-southeast-6
(Auckland). Your credentials need S3, IAM, and EC2 in both.
demo.sh uses jq for state and policy JSON. Install it if you need to:
brew install jq# Fedora / RHELsudo dnf install jq# Debian / Ubuntusudo apt install jqCheck the version:
jq --versionDocker
Section titled “Docker”Docker is required for up-shared: it builds and pushes the rebuild Lambda
image to ECR. Index rebuild always runs in that Lambda — there is no laptop
fallback.
Install Docker if you do not have it yet.
brew install --cask docker# then launch Docker Desktop once so the daemon startsopen -a Docker# Fedora / RHELsudo dnf install dockersudo systemctl enable --now docker# Debian / Ubuntusudo apt install docker.iosudo systemctl enable --now docker# run docker without sudo (log out/in after):sudo usermod -aG docker "$USER"Check the daemon is running:
docker versionEnvironment
Section titled “Environment”export AWS_PROFILE=sandboxThat is enough. demo.sh picks the Region per command (and passes --region
explicitly), so a leftover AWS_REGION in your shell will not send Auckland
calls to Sydney.
up-consumer builds its own private VPC. You do not pass a VPC or subnet ID.