Lightsail Instance Deployer
What this skill does
Provisions production-grade Amazon Lightsail instances with secure
defaults: blueprint selection (OS-only vs app+OS bundle), bundle
(plan) sizing, static IP attachment, DNS via Lightsail DNS zones, VPC
peering to the default EC2-VPC for private access to RDS/ElastiCache,
automatic and manual snapshots, Lightsail load balancers, container
services, Lightsail distributions (CloudFront-backed CDN), and
multi-AZ managed databases. Emits a deployment plan with a
READY_TO_DEPLOY checklist.
Mindset
One-line takeaway: Lightsail is not "a toy EC2" — it is a
bundled compute platform with predictable pricing that includes
the instance, a fixed-GB SSD, a monthly data-transfer allowance, and
managed add-ons (snapshots, load balancers, DNS, distributions). The
bundle is the unit of economics; the VPC peering toggle is the unit
of network reach; the static IP is the unit of DNS stability.
Three facts make Lightsail provisioning different from "give me a
small EC2":
Lightsail lives in its own VPC, isolated from the default EC2-VPC.
Without VPC peering, a Lightsail instance CANNOT reach RDS,
ElastiCache, or any resource in the customer's default EC2-VPC. This
is the #1 surprise for teams migrating from EC2. The peering toggle
(peer-vpc) is per-region, one-way (Lightsail → EC2-VPC).
The bundle includes data transfer — overage is metered. Each
bundle includes a monthly outbound transfer allowance (1 TB on
small plans, up to 8 TB on the largest). Inbound is always free.
Overage ~$0.09/GB. Static IP attachment is free while attached but
billed ($0.005/hour) when detached — orphan IPs are a common cost leak.
App+OS blueprints (WordPress, LAMP, Node.js) bundle the application
stack. A WordPress blueprint ships with WordPress, Apache, MySQL,
and PHP pre-installed. This is NOT the same as OS-only with
apt install wordpress. Use app+OS when you want the bundled stack
with vendor defaults; use OS-only when you need full control.
Quick navigation
| Section |
What it covers |
When to read it |
| Quick reference |
Verdict thresholds + checklist matrix + Lightsail limits |
Before any operation |
| Pre-flight |
Instance metadata gate — blueprint, bundle, AZ, SSH key, peering |
Before executing any CLI |
| Process |
Per-step planning: instance, static IP, DNS, peering, snapshots, LB, container, distribution, database |
When choosing each step |
| Common patterns |
LAMP+static IP / WordPress+LB HA / RDS private access / container service |
Boilerplate lookup |
| STRICT output contract |
Required INSTANCE/VERDICT/PRE_CHECKS/STEPS/POST_VERIFY block |
Formatting the response |
| NEVER (top 5) |
Hard rules preventing common insecure patterns |
Review before deploy |
| Expert heuristic |
Choosing bundle (plan) for workload type |
Choosing bundle size |
Quick reference — verdict thresholds
| Verdict |
Trigger condition |
Action |
PREREQUISITES_MISSING |
Any pre-check failed (blueprint not found in the selected region, bundle unavailable in region, AZ does not exist in region, SSH key region mismatch, app+OS blueprint requires a minimum bundle the spec doesn't meet, VPC peering requested but EC2-VPC has no default VPC, multi-AZ database primary AZ mismatch, distribution origin unreachable, IAM permission missing, instance name collision) |
List failures, do NOT execute |
READY_TO_DEPLOY |
All pre-checks passed; awaiting CONFIRM gate |
Emit exact CLI sequence with full instance config, wait for operator yes |
Deployment checklist (every dimension must pass): Blueprint (OS-only
or app+OS) — Step 1; Bundle sizing (CPU/RAM/SSD/transfer; app+OS minimum)
— Step 2; AZ valid in region — Step 3; Static IP attached before DNS —
Step 4; DNS zone + A record to static IP — Step 5; VPC peering enabled
if RDS/ElastiCache access needed — Step 6; Snapshots (automatic +
manual) — Step 7; Load balancer for HA (optional) — Step 8; Container
service (optional) — Step 9; Distribution/CDN (optional) — Step 10;
Database (optional; multi-AZ for HA) — Step 11; Firewall (22/80/443
defaults, tightened per CIDR) — Step 12; User data (cloud-init,
optional) — Step 13; SSH key (default or custom) — Step 14.
Lightsail limits (2026):
- Bundles per region: 1 of each size (soft limit; default 5-20).
- Static IPs per region: 5 (soft limit).
- DNS zones per account: 5 (soft limit). DNS records per zone: no hard cap.
- Snapshots: depends on storage; no fixed count cap.
- Load balancers / container services / distributions per region: 5 each (soft).
- Databases per region: varies by engine (15 default for MySQL).
- Instance name: 255 chars, alphanumeric + hyphen. User data size: 16 KB.
- Availability Zones: 2-6 per region (Lightsail may not support all EC2 AZs).
- Availability Zones: 2-6 per region ( Lightsail may not support all EC2 AZs in a region).
Pre-flight: deployment specification gate (run before architecture output)
Before producing the deployment plan, validate the input specification.
Several requirements block deployment — proceeding with an invalid
spec produces a non-functional or insecure instance.
Live-account pre-flight checks (skip if doing offline architecture plan):
The numbered live-account check commands moved verbatim to references/diagnostic-commands.md.
Load that file before running any live deployment pre-flight.
| Attribute |
Value |
Effect on plan |
| Blueprint |
OS-only (Amazon Linux 2023, Ubuntu, Debian) |
Bare OS; install app stack via user data. |
| Blueprint |
App+OS (WordPress, LAMP, Node.js) |
Bundled stack with vendor defaults. May require minimum bundle. |
| Bundle |
nano_3_0 (512 MB, 1 CPU, 20 GB SSD, 1 TB transfer) |
Cheapest; dev/test only. Not for app+OS. |
| Bundle |
medium_3_0 (4 GB, 2 CPU, 80 GB SSD, 4 TB transfer) |
Minimum for most app+OS blueprints. |
| Bundle |
xlarge_3_0 (16 GB, 8 CPU, 320 GB SSD, 7 TB transfer) |
Production workloads. |
| Static IP |
required |
Attach before DNS A record; free while attached. |
| VPC peering |
required |
peer-vpc per region; enables private RDS/ElastiCache access. |
| Multi-AZ DB |
required |
Primary + standby AZ; automatic failover. |
If the deployment spec is incomplete (missing blueprint, bundle,
or region), output:
INSTANCE_SPEC: <name-or-unknown>
VERDICT: PREREQUISITES_MISSING
REASON: Deployment specification is missing required fields (<list>).
Cannot produce an instance plan without <field> — the resulting
deployment would be non-functional or insecure.
REQUIRED:
- blueprint_id (OS-only or app+OS blueprint)
- bundle_id (plan: CPU/RAM/SSD/transfer)
- availability_zone (valid AZ in the selected region)
- static_ip_required (true/false)
- vpc_peering_required (true/false)
- snapshot_schedule (none/daily/weekly)
Process — Architecture planning (apply in order, produce deployment plan)
Step 0: Expert knowledge — non-obvious Lightsail behaviors that change the plan
Step 0 deep-dive moved verbatim to references/advanced-patterns.md — VPC isolation, static-IP billing, app+OS stacks, transfer metering, IP churn, snapshot scope, Layer-4 LBs, distribution limits, multi-AZ DBs, firewall behavior.
Load it before producing the deployment plan.
Step 1: Blueprint selection
aws lightsail get-blueprints --region us-east-1
| Blueprint type |
Examples |
Use case |
| OS-only |
amazon_linux_2023, ubuntu_22_04, debian_12, open_suse_15, freebsd_12 |
Custom application stack installed via user data or post-launch. |
| App+OS |
wordpress, wordpress_multisite, lamp_8, node_js, django, rails, ghost, joomla, magento, redmine, gitlab |
Bundled stack with vendor defaults. Faster launch; less control. |
| App+OS (certificate) |
nginx_plesk, cpanel_whm |
Web hosting control panels. License required. |
Decision rule: use app+OS when you want the bundled stack and the
vendor's defaults; use OS-only when you need a non-default stack,
custom package versions, or a stack the app+OS catalog doesn't offer.
Step 2: Bundle (plan) sizing
aws lightsail get-bundles --region us-east-1
| Bundle ID |
RAM |
CPU |
SSD |
Transfer |
$/mo |
Typical use |
nano_3_0 |
512 MB |
1 |
20 GB |
1 TB |
$3.50 |
Dev/test only. Not for app+OS. |
micro_3_0 |
1 GB |
2 |
40 GB |
2 TB |
$5 |
Small app, low-traffic blog. |
small_3_0 |
2 GB |
2 |
60 GB |
3 TB |
$10 |
Small production app. |
medium_3_0 |
4 GB |
2 |
80 GB |
4 TB |
$20 |
WordPress / app+OS minimum. |
large_3_0 |
8 GB |
4 |
160 GB |
5 TB |
$40 |
Mid-tier production. |
xlarge_3_0 |
16 GB |
8 |
320 GB |
7 TB |
$80 |
Production web/api. |
2xlarge_3_0 |
32 GB |
16 |
640 GB |
8 TB |
$160 |
Heavy production. |
App+OS minimums (typical): WordPress / LAMP / Node.js / Django /
Rails / Ghost / Joomla / Magento: medium_3_0 (4 GB). GitLab / Plesk /
cPanel: large_3_0 (8 GB).
App+OS minimums (typical):
- WordPress / WordPress Multisite:
medium_3_0 (4 GB RAM, 2 CPU).
- LAMP / Node.js / Django / Rails:
medium_3_0 (4 GB RAM, 2 CPU).
- Ghost / Joomla / Magento:
medium_3_0 (4 GB RAM, 2 CPU).
- GitLab / Plesk / cPanel:
large_3_0 (8 GB RAM, 4 CPU).
Step 3: Availability Zone
aws lightsail get-regions --include-availability-zones --region us-east-1
Lightsail supports a subset of EC2 AZs per region. Use a multi-AZ
deployment for HA: two instances in different AZs behind a Lightsail
load balancer. For databases, choose primary and standby in different
AZs (master_user_password, availability_zone, secondary_availability_zone).
Step 4: Static IP attachment
aws lightsail allocate-static-ip --static-ip-name prod-static-ip --region us-east-1
aws lightsail attach-static-ip --static-ip-name prod-static-ip --instance-name prod-instance
ALWAYS attach the static IP before configuring DNS A records. The
attachment is free; the static IP is billed only when detached.
Attach to one instance only; a static IP cannot be shared across
instances (use a load balancer for shared entry points).
Step 5: DNS zone and records
aws lightsail create-dnszone --domain-name example.com --region us-east-1
aws lightsail create-domain-entry --domain-name example.com \
--domain-entry '{"name":"app","type":"A","target":"<static-ip>"}'
The Lightsail DNS zone is a managed Route 53 hosted zone. To use it,
delegate the domain by setting the Lightsail nameservers at the
registrar. Lightsail DNS supports A, AAAA, CNAME, MX, TXT, NS, SOA,
and PTR records.
Step 6: VPC peering to the default EC2-VPC
aws lightsail is-vpc-peered --region us-east-1
aws lightsail peer-vpc --region us-east-1
The peering connects the Lightsail VPC to the default EC2-VPC in the
region. After peering, the Lightsail instance can reach RDS, ElastiCache,
private EC2 instances, and VPC endpoints in the default VPC by private
IP. The peering is one-way (Lightsail initiates connections to EC2-VPC;
EC2-VPC cannot initiate to Lightsail).
For the RDS security group: allow inbound from the Lightsail VPC
CIDR (typically 172.26.0.0/16, but verify via
aws ec2 describe-vpc-peering-connections). The RDS instance must be
in the default EC2-VPC for the peering to work — RDS in a non-default
VPC requires a transit gateway or VPC peering between the Lightsail
VPC and the non-default VPC.
Step 7: Snapshots — automatic and manual
Snapshot CLI and behavior detail moved verbatim to references/advanced-patterns.md — automatic add-on, manual snapshots, retention, snapshot pricing.
Load on demand when planning snapshot schedules.
Step 8: Lightsail load balancer (Layer 4 TCP/TLS)
Load-balancer CLI and constraints moved verbatim to references/advanced-patterns.md — Layer-4 limits, health checks, sticky sessions, HA pattern.
Load on demand when HA is in scope.
Step 9: Container services (optional)
Container-service CLI, power levels, and public-endpoint config moved verbatim to references/advanced-patterns.md.
Load on demand when the spec includes a container service.
Step 10: Lightsail distribution (CDN, optional)
Distribution CLI, cache behaviors, and origin limitations moved verbatim to references/advanced-patterns.md.
Load on demand when a CDN is in scope.
Step 11: Lightsail database (optional, multi-AZ for HA)
Database CLI, multi-AZ failover semantics, and public-access rules moved verbatim to references/advanced-patterns.md.
Load on demand when the spec includes a Lightsail database.
Step 12: Firewall (per-port, per-source)
aws lightsail put-instance-public-ports --instance-name prod-instance \
--port-infos '[
{"fromPort":22,"toPort":22,"protocol":"TCP","cidrs":["10.0.0.0/8"]},
{"fromPort":80,"toPort":80,"protocol":"TCP","cidrs":["0.0.0.0/0"]},
{"fromPort":443,"toPort":443,"protocol":"TCP","cidrs":["0.0.0.0/0"]}
]'
Default firewall: 22, 80, 443 from anywhere. Tighten 22 (SSH) to the
corporate CIDR for production. The firewall is stateful — outbound
response traffic is allowed regardless of inbound rules.
Step 13: User data (cloud-init)
aws lightsail create-instances --instance-names prod-instance \
--availability-zone us-east-1a --bundle-id medium_3_0 \
--blueprint-id ubuntu_22_04 \
--user-data '#!/bin/bash
apt-get update
apt-get install -y nginx
systemctl enable nginx
systemctl start nginx'
User data is a cloud-init script that runs at first boot as root.
Max 16 KB. Use for package installs, service enablement, and bootstrap
configuration. For app+OS blueprints, user data runs AFTER the bundled
stack starts — use it to override defaults.
Step 14: SSH key (default or custom)
aws lightsail download-default-key-pair --region us-east-1 > lightsail-default-key.pem
chmod 600 lightsail-default-key.pem
ssh -i lightsail-default-key.pem ubuntu@<static-ip>
Lightsail provides a default SSH key per region per account. Download
once per region. For custom keys, upload via the Lightsail console or
import-key-pair. SSH as the blueprint's default user (e.g., ec2-user
for Amazon Linux, ubuntu for Ubuntu, admin for Debian).
Common patterns
The four common deployment patterns moved verbatim to references/worked-examples.md — LAMP+static IP, WordPress HA behind LB, RDS private access via peering, container service API.
Load on demand for boilerplate lookup.
Output format
The full ARCHITECTURE/CHECKLIST/FINDINGS/DEPLOY_COMMANDS template moved verbatim to references/worked-examples.md; the STRICT block below is the enforced contract.
Load on demand when emitting the architecture-plan format.
STRICT output contract
Required output structure
Every response MUST begin with this block — no preamble, no
conversational opening:
INSTANCE: <instance-name>
VERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING
TARGET: <instance-name>
PRE_CHECKS:
- [PASS] <check description>
- [FAIL] <check description> — <reason>
STEPS:
1. CONFIRM: About to <operation> instance <name> in account <account> region <region>. This will <consequence>. Estimated monthly cost: <$X>. Proceed? (yes/no)
2. <exact CLI command — no placeholders>
POST_VERIFY:
- [PASS] <verification description>
- [FAIL] <verification description> — <reason>
BLUEPRINT: <OS-only | app+OS> <blueprint_id>
BUNDLE: <bundle_id> (<RAM>/<CPU>/<SSD>/<transfer>)
STATIC_IP: <attached-name | none>
DNS: <zone + A record | none>
VPC_PEERING: <enabled | disabled | not required>
SNAPSHOTS: <automatic daily N-day retention + manual | none>
NOTES: <HA posture, network reachability, cost breakdown>
FORBIDDEN output patterns
- NEVER start with "Let me analyze…" or "I'll create…" — the VERDICT
block is the FIRST line, always. No conversational preamble.
- NEVER use lowercase verdict values — emit
READY_TO_DEPLOY or
PREREQUISITES_MISSING (not ready, prerequisites).
- NEVER omit PRE_CHECKS — every pre-check run must appear with
[PASS]
or [FAIL] and a specific reason for each failure.
- NEVER emit a plan with placeholder values (e.g.,
<instance-name>)
in a READY_TO_DEPLOY plan — every field must be populated with actual
values from the input.
- NEVER omit the CONFIRM gate as the first STEPS entry for any
state-changing operation.
- NEVER claim success without verifying the instance is
running via
get-instance-state — a partial CLI sequence is non-compliant.
- NEVER silently allow
publicly-accessible: true on a Lightsail
database — block it explicitly with a [FAIL] pre-check.
- NEVER allow an app+OS blueprint on a bundle below the vendor minimum
— block at pre-check with the required bundle ID.
Perfect example output
INSTANCE: prod-lamp
VERDICT: READY_TO_DEPLOY
TARGET: prod-lamp
PRE_CHECKS:
- [PASS] Blueprint lamp_8 exists in region us-east-1
- [PASS] Bundle medium_3_0 (4GB/2CPU/80GB/4TB) meets LAMP minimum
- [PASS] Availability Zone us-east-1a valid in region
- [PASS] SSH default key exists for region us-east-1
- [PASS] Static IP prod-lamp-ip allocated, not attached to another instance
- [PASS] DNS zone example.com exists
- [PASS] VPC peering not required (no RDS/ElastiCache access in spec)
- [PASS] Automatic snapshot addon enabled, 05:00 UTC, 7-day retention
- [PASS] Firewall 22 scoped to corporate CIDR 10.0.0.0/8
- [PASS] IAM principal holds lightsail:CreateInstances, AttachStaticIp, EnableAddOn, CreateDomainEntry
STEPS:
1. CONFIRM: About to create-instances prod-lamp in account 111111111111 region us-east-1. LAMP 8 on medium_3_0 (4GB/2CPU/80GB/4TB), AZ us-east-1a, static IP prod-lamp-ip, DNS A app.example.com, daily snapshots. Cost ~$20/mo. Proceed? (yes/no)
2. aws lightsail create-instances --instance-names prod-lamp --availability-zone us-east-1a --bundle-id medium_3_0 --blueprint-id lamp_8 --user-data '<custom-php-config>' --region us-east-1
3. aws lightsail wait-instance-running --instance-name prod-lamp
4. aws lightsail attach-static-ip --static-ip-name prod-lamp-ip --instance-name prod-lamp --region us-east-1
5. aws lightsail create-domain-entry --domain-name example.com --domain-entry '{"name":"app","type":"A","target":"<static-ip>"}' --region us-east-1
6. aws lightsail enable-add-on --resource-name prod-lamp --add-on-request '{"addOnType":"AutoSnapshot","snapshotTimeOfDay":"05:00","status":"Active"}' --region us-east-1
7. aws lightsail put-instance-public-ports --instance-name prod-lamp --port-infos '[{"fromPort":22,"toPort":22,"protocol":"TCP","cidrs":["10.0.0.0/8"]},{"fromPort":80,"toPort":80,"protocol":"TCP","cidrs":["0.0.0.0/0"]},{"fromPort":443,"toPort":443,"protocol":"TCP","cidrs":["0.0.0.0/0"]}]' --region us-east-1
POST_VERIFY:
- (pending execution)
- get-instance-state returns running
- get-instance returns the static IP as publicIpAddress
- get-domain returns A app.example.com → <static-ip>
BLUEPRINT: app+OS lamp_8
BUNDLE: medium_3_0 (4 GB / 2 CPU / 80 GB SSD / 4 TB transfer)
STATIC_IP: prod-lamp-ip attached
DNS: example.com A app → <static-ip>
VPC_PEERING: not required
SNAPSHOTS: automatic daily 05:00 UTC, 7-day retention
NOTES:
- Single-instance — no HA. For HA, deploy a second instance in us-east-1b behind a Lightsail load balancer.
- Bundle includes 4 TB/month outbound transfer. Overage billed at $0.09/GB.
- Static IP free while attached; billed $3.60/mo if detached.
- LAMP admin password generated at launch — capture immediately; not retrievable later.
NEVER (top 5)
These are the highest-impact, most-frequent failure modes in Lightsail
deployments. Violating any one of these is a correctness or security
regression.
NEVER configure DNS A records before attaching a static IP.
Without a static IP, the instance's public IP changes on stop/start
— DNS records silently break. Attach the static IP first, then
create the A record. Pre-check this ordering.
NEVER assume Lightsail can reach RDS without VPC peering.
Lightsail lives in its own VPC, isolated from the default EC2-VPC.
peer-vpc is per-region and MUST be enabled before the instance
can reach RDS, ElastiCache, or private EC2. Pre-check
is-vpc-peered whenever private resource access is required.
NEVER deploy a production database with publicly-accessible: true. It exposes the DB to the internet. Always set
publicly-accessible: false; reach the DB via peered Lightsail
instances by private IP. Block at pre-check.
NEVER deploy an app+OS blueprint on a bundle below the vendor
minimum. WordPress on nano_3_0 (512 MB RAM) installs but fails
under load — MySQL OOMs, PHP-FPM exhausts workers. Pre-check the
bundle against the blueprint minimum (medium_3_0 for most app+OS).
NEVER leave orphan static IPs. Attached: free. Detached:
$0.005/hour (~$3.60/mo). When deleting an instance, also
release-static-ip any IP no longer needed. Pre-check the static
IP inventory.
Expert heuristic: choosing bundle (plan) for workload type
The full workload-to-bundle table and decision rules moved verbatim to references/advanced-patterns.md.
Load on demand when choosing a bundle (plan).
Recent AWS features (2024-2026)
The 2024-2026 feature notes moved verbatim to references/advanced-patterns.md.
Load on demand when checking recent feature availability.
AWS documentation
References (load on demand)
- references/worked-examples.md — the full output-format template and the four common deployment patterns (LAMP+static IP, WordPress HA, RDS private access, container API).
- references/advanced-patterns.md — Step 0 expert behaviors, optional-component deep dives (snapshots, load balancer, container service, distribution, database), the bundle-choice heuristic, and 2024-2026 feature notes.
- references/diagnostic-commands.md — live-account pre-flight CLI checks (IAM, blueprint, bundle, AZ, SSH key, VPC peering, database AZs).
- references/blueprint-bundle-guide.md — blueprint and bundle selection deep guide.
- references/networking-snapshots-ha-guide.md — networking, snapshots, and HA topology deep guide.
1---2name: lightsail-instance-deployer3description: 'Provisions production-grade Amazon Lightsail instances with secure defaults: blueprint selection (OS-only vs app+OS bundle), bundle (plan) sizing for CPU/RAM/SSD/transfer, static IP attachment, DNS via Lightsail DNS zones, VPC peering to the default EC2-VPC for private access to RDS/ElastiCache, automatic and manual snapshots, Lightsail load balancers (Layer 4 with TLS), container services, Lightsail distributions (CloudFront-backed CDN), and multi-AZ managed databases. Emits a deployment plan with a READY_TO_DEPLOY checklist. Use when provisioning a new Lightsail instance, attaching a static IP, configuring a DNS zone, peering to EC2-VPC for private resource access, setting up snapshots, deploying a Lightsail load balancer, creating a container service, fronting an instance with a distribution, or provisioning a multi-AZ Lightsail database.'4license: Apache-2.05compatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline architecture planning. Live deployment uses aws lightsail create-instances, create-instance-snapshot, create-disk-from-snapshot, attach-static-ip, create-load-balancer, create-container-service, create-distribution, create-relational-database, enable-add-on (automatic snapshots), create-dnszone, is-vpc-peered, peer-vpc, and aws ec2 describe-vpc-peering-connections (AWS CLI v2...6metadata:7 source: https://skillmd.com/skills/jhkchan/lightsail-instance-deployer8 domain: aws-cloudops9 complexity: medium10 requires_llm: 'true'11 phase: '1'12 supports_pipeline: 'true'13 entry_point: 'false'14 family: Compute15 task_type: deploy16 skill_class: capability17 lifecycle_status: active18 verdict_shape: READY_TO_DEPLOY | PREREQUISITES_MISSING19 when_to_use: Provisioning a new Lightsail instance for production, attaching a static IP for stable DNS, configuring a Lightsail DNS zone, peering the Lightsail VPC to the default EC2-VPC for private access to RDS or ElastiCache, configuring automatic and manual snapshots, deploying a Lightsail load balancer for HA, creating a container service, fronting an instance with a Lightsail distribution (CDN), or provisioning a multi-AZ managed database.20 activation_triggers: create a Lightsail instance, provision a Lightsail instance with static IP, Lightsail blueprint selection, Lightsail bundle plan sizing, Lightsail DNS zone, Lightsail VPC peering to EC2-VPC, Lightsail RDS private access, Lightsail automatic snapshots, Lightsail load balancer, Lightsail container service, Lightsail distribution CDN, Lightsail multi-AZ database, WordPress on Lightsail21 invocation_schema: 'Input shape (one of): (a) a deployment specification including blueprint (OS-only or app+OS), bundle (plan), availability zone, static IP requirement, DNS zone, VPC peering requirement, snapshot schedule, load balancer, container service, distribution, and database requirements; (b) a partial spec for interactive refinement (e.g., "WordPress on Lightsail with a static IP and daily snapshots"); (c) an existing instance name for architecture review against the well-architected checklist. Output shape: { INSTANCE_SPEC, VERDICT, ARCHITECTURE, CHECKLIST[], FINDINGS[], DEPLOY_COMMANDS } where VERDICT ∈ { READY_TO_DEPLOY, PREREQUISITES_MISSING }.'22 version: 0.1.023 author: Jacky Chan — AWS Community Builder24 keywords: Lightsail, instance deploy, blueprint, bundle, plan, OS-only, app blueprint, WordPress, LAMP, Node.js, static IP, DNS zone, VPC peering, EC2-VPC peering, private access, RDS private, snapshot, automatic snapshot, manual snapshot, load balancer, container service, Lightsail distribution, CDN, multi-AZ database, Lightsail database, availability zone, user data, cloud-init, SSH key, firewall25 tags: lightsail, compute, deploy, static-ip, dns, vpc-peering, snapshot, load-balancer, container, distribution, database26---2728# Lightsail Instance Deployer2930## What this skill does3132Provisions production-grade Amazon Lightsail instances with secure33defaults: blueprint selection (OS-only vs app+OS bundle), bundle34(plan) sizing, static IP attachment, DNS via Lightsail DNS zones, VPC35peering to the default EC2-VPC for private access to RDS/ElastiCache,36automatic and manual snapshots, Lightsail load balancers, container37services, Lightsail distributions (CloudFront-backed CDN), and38multi-AZ managed databases. Emits a deployment plan with a39READY_TO_DEPLOY checklist.4041## Mindset4243**One-line takeaway:** Lightsail is **not** "a toy EC2" — it is a44**bundled compute platform** with predictable pricing that includes45the instance, a fixed-GB SSD, a monthly data-transfer allowance, and46managed add-ons (snapshots, load balancers, DNS, distributions). The47bundle is the unit of economics; the VPC peering toggle is the unit48of network reach; the static IP is the unit of DNS stability.4950Three facts make Lightsail provisioning different from "give me a51small EC2":5253- **Lightsail lives in its own VPC, isolated from the default EC2-VPC.**54 Without VPC peering, a Lightsail instance CANNOT reach RDS,55 ElastiCache, or any resource in the customer's default EC2-VPC. This56 is the #1 surprise for teams migrating from EC2. The peering toggle57 (`peer-vpc`) is per-region, one-way (Lightsail → EC2-VPC).5859- **The bundle includes data transfer — overage is metered.** Each60 bundle includes a monthly outbound transfer allowance (1 TB on61 small plans, up to 8 TB on the largest). Inbound is always free.62 Overage ~$0.09/GB. Static IP attachment is free while attached but63 billed ($0.005/hour) when detached — orphan IPs are a common cost leak.6465- **App+OS blueprints (WordPress, LAMP, Node.js) bundle the application66 stack.** A WordPress blueprint ships with WordPress, Apache, MySQL,67 and PHP pre-installed. This is NOT the same as OS-only with68 `apt install wordpress`. Use app+OS when you want the bundled stack69 with vendor defaults; use OS-only when you need full control.7071## Quick navigation7273| Section | What it covers | When to read it |74|---|---|---|75| **Quick reference** | Verdict thresholds + checklist matrix + Lightsail limits | Before any operation |76| **Pre-flight** | Instance metadata gate — blueprint, bundle, AZ, SSH key, peering | Before executing any CLI |77| **Process** | Per-step planning: instance, static IP, DNS, peering, snapshots, LB, container, distribution, database | When choosing each step |78| **Common patterns** | LAMP+static IP / WordPress+LB HA / RDS private access / container service | Boilerplate lookup |79| **STRICT output contract** | Required INSTANCE/VERDICT/PRE_CHECKS/STEPS/POST_VERIFY block | Formatting the response |80| **NEVER (top 5)** | Hard rules preventing common insecure patterns | Review before deploy |81| **Expert heuristic** | Choosing bundle (plan) for workload type | Choosing bundle size |8283## Quick reference — verdict thresholds8485| Verdict | Trigger condition | Action |86|---|---|---|87| `PREREQUISITES_MISSING` | Any pre-check failed (blueprint not found in the selected region, bundle unavailable in region, AZ does not exist in region, SSH key region mismatch, app+OS blueprint requires a minimum bundle the spec doesn't meet, VPC peering requested but EC2-VPC has no default VPC, multi-AZ database primary AZ mismatch, distribution origin unreachable, IAM permission missing, instance name collision) | List failures, do NOT execute |88| `READY_TO_DEPLOY` | All pre-checks passed; awaiting CONFIRM gate | Emit exact CLI sequence with full instance config, wait for operator yes |8990**Deployment checklist (every dimension must pass):** Blueprint (OS-only91or app+OS) — Step 1; Bundle sizing (CPU/RAM/SSD/transfer; app+OS minimum)92— Step 2; AZ valid in region — Step 3; Static IP attached before DNS —93Step 4; DNS zone + A record to static IP — Step 5; VPC peering enabled94if RDS/ElastiCache access needed — Step 6; Snapshots (automatic +95manual) — Step 7; Load balancer for HA (optional) — Step 8; Container96service (optional) — Step 9; Distribution/CDN (optional) — Step 10;97Database (optional; multi-AZ for HA) — Step 11; Firewall (22/80/44398defaults, tightened per CIDR) — Step 12; User data (cloud-init,99optional) — Step 13; SSH key (default or custom) — Step 14.100101**Lightsail limits (2026):**102103- Bundles per region: 1 of each size (soft limit; default 5-20).104- Static IPs per region: 5 (soft limit).105- DNS zones per account: 5 (soft limit). DNS records per zone: no hard cap.106- Snapshots: depends on storage; no fixed count cap.107- Load balancers / container services / distributions per region: 5 each (soft).108- Databases per region: varies by engine (15 default for MySQL).109- Instance name: 255 chars, alphanumeric + hyphen. User data size: 16 KB.110- Availability Zones: 2-6 per region (Lightsail may not support all EC2 AZs).111- Availability Zones: 2-6 per region ( Lightsail may not support all EC2 AZs in a region).112113## Pre-flight: deployment specification gate (run before architecture output)114115Before producing the deployment plan, validate the input specification.116Several requirements **block deployment** — proceeding with an invalid117spec produces a non-functional or insecure instance.118119**Live-account pre-flight checks (skip if doing offline architecture plan):**120121> The numbered live-account check commands moved verbatim to [references/diagnostic-commands.md](references/diagnostic-commands.md).122> Load that file before running any live deployment pre-flight.123124| Attribute | Value | Effect on plan |125|---|---|---|126| Blueprint | OS-only (Amazon Linux 2023, Ubuntu, Debian) | Bare OS; install app stack via user data. |127| Blueprint | App+OS (WordPress, LAMP, Node.js) | Bundled stack with vendor defaults. May require minimum bundle. |128| Bundle | `nano_3_0` (512 MB, 1 CPU, 20 GB SSD, 1 TB transfer) | Cheapest; dev/test only. Not for app+OS. |129| Bundle | `medium_3_0` (4 GB, 2 CPU, 80 GB SSD, 4 TB transfer) | Minimum for most app+OS blueprints. |130| Bundle | `xlarge_3_0` (16 GB, 8 CPU, 320 GB SSD, 7 TB transfer) | Production workloads. |131| Static IP | required | Attach before DNS A record; free while attached. |132| VPC peering | required | `peer-vpc` per region; enables private RDS/ElastiCache access. |133| Multi-AZ DB | required | Primary + standby AZ; automatic failover. |134135**If the deployment spec is incomplete** (missing blueprint, bundle,136or region), output:137138```text139INSTANCE_SPEC: <name-or-unknown>140VERDICT: PREREQUISITES_MISSING141REASON: Deployment specification is missing required fields (<list>).142Cannot produce an instance plan without <field> — the resulting143deployment would be non-functional or insecure.144REQUIRED:145 - blueprint_id (OS-only or app+OS blueprint)146 - bundle_id (plan: CPU/RAM/SSD/transfer)147 - availability_zone (valid AZ in the selected region)148 - static_ip_required (true/false)149 - vpc_peering_required (true/false)150 - snapshot_schedule (none/daily/weekly)151```152153## Process — Architecture planning (apply in order, produce deployment plan)154155### Step 0: Expert knowledge — non-obvious Lightsail behaviors that change the plan156157> Step 0 deep-dive moved verbatim to [references/advanced-patterns.md](references/advanced-patterns.md) — VPC isolation, static-IP billing, app+OS stacks, transfer metering, IP churn, snapshot scope, Layer-4 LBs, distribution limits, multi-AZ DBs, firewall behavior.158> Load it before producing the deployment plan.159160### Step 1: Blueprint selection161162```bash163aws lightsail get-blueprints --region us-east-1164```165166| Blueprint type | Examples | Use case |167|---|---|---|168| OS-only | `amazon_linux_2023`, `ubuntu_22_04`, `debian_12`, `open_suse_15`, `freebsd_12` | Custom application stack installed via user data or post-launch. |169| App+OS | `wordpress`, `wordpress_multisite`, `lamp_8`, `node_js`, `django`, `rails`, `ghost`, `joomla`, `magento`, `redmine`, `gitlab` | Bundled stack with vendor defaults. Faster launch; less control. |170| App+OS (certificate) | `nginx_plesk`, `cpanel_whm` | Web hosting control panels. License required. |171172**Decision rule:** use app+OS when you want the bundled stack and the173vendor's defaults; use OS-only when you need a non-default stack,174custom package versions, or a stack the app+OS catalog doesn't offer.175176### Step 2: Bundle (plan) sizing177178```bash179aws lightsail get-bundles --region us-east-1180```181182| Bundle ID | RAM | CPU | SSD | Transfer | $/mo | Typical use |183|---|---|---|---|---|---|---|184| `nano_3_0` | 512 MB | 1 | 20 GB | 1 TB | $3.50 | Dev/test only. Not for app+OS. |185| `micro_3_0` | 1 GB | 2 | 40 GB | 2 TB | $5 | Small app, low-traffic blog. |186| `small_3_0` | 2 GB | 2 | 60 GB | 3 TB | $10 | Small production app. |187| `medium_3_0` | 4 GB | 2 | 80 GB | 4 TB | $20 | WordPress / app+OS minimum. |188| `large_3_0` | 8 GB | 4 | 160 GB | 5 TB | $40 | Mid-tier production. |189| `xlarge_3_0` | 16 GB | 8 | 320 GB | 7 TB | $80 | Production web/api. |190| `2xlarge_3_0` | 32 GB | 16 | 640 GB | 8 TB | $160 | Heavy production. |191192**App+OS minimums (typical):** WordPress / LAMP / Node.js / Django /193Rails / Ghost / Joomla / Magento: `medium_3_0` (4 GB). GitLab / Plesk /194cPanel: `large_3_0` (8 GB).195196**App+OS minimums (typical):**197- WordPress / WordPress Multisite: `medium_3_0` (4 GB RAM, 2 CPU).198- LAMP / Node.js / Django / Rails: `medium_3_0` (4 GB RAM, 2 CPU).199- Ghost / Joomla / Magento: `medium_3_0` (4 GB RAM, 2 CPU).200- GitLab / Plesk / cPanel: `large_3_0` (8 GB RAM, 4 CPU).201202### Step 3: Availability Zone203204```bash205aws lightsail get-regions --include-availability-zones --region us-east-1206```207208Lightsail supports a subset of EC2 AZs per region. Use a multi-AZ209deployment for HA: two instances in different AZs behind a Lightsail210load balancer. For databases, choose primary and standby in different211AZs (`master_user_password`, `availability_zone`, `secondary_availability_zone`).212213### Step 4: Static IP attachment214215```bash216aws lightsail allocate-static-ip --static-ip-name prod-static-ip --region us-east-1217aws lightsail attach-static-ip --static-ip-name prod-static-ip --instance-name prod-instance218```219220ALWAYS attach the static IP before configuring DNS A records. The221attachment is free; the static IP is billed only when detached.222Attach to one instance only; a static IP cannot be shared across223instances (use a load balancer for shared entry points).224225### Step 5: DNS zone and records226227```bash228aws lightsail create-dnszone --domain-name example.com --region us-east-1229aws lightsail create-domain-entry --domain-name example.com \230 --domain-entry '{"name":"app","type":"A","target":"<static-ip>"}'231```232233The Lightsail DNS zone is a managed Route 53 hosted zone. To use it,234delegate the domain by setting the Lightsail nameservers at the235registrar. Lightsail DNS supports A, AAAA, CNAME, MX, TXT, NS, SOA,236and PTR records.237238### Step 6: VPC peering to the default EC2-VPC239240```bash241aws lightsail is-vpc-peered --region us-east-1242aws lightsail peer-vpc --region us-east-1243```244245The peering connects the Lightsail VPC to the default EC2-VPC in the246region. After peering, the Lightsail instance can reach RDS, ElastiCache,247private EC2 instances, and VPC endpoints in the default VPC by private248IP. The peering is one-way (Lightsail initiates connections to EC2-VPC;249EC2-VPC cannot initiate to Lightsail).250251**For the RDS security group:** allow inbound from the Lightsail VPC252CIDR (typically `172.26.0.0/16`, but verify via253`aws ec2 describe-vpc-peering-connections`). The RDS instance must be254in the default EC2-VPC for the peering to work — RDS in a non-default255VPC requires a transit gateway or VPC peering between the Lightsail256VPC and the non-default VPC.257258### Step 7: Snapshots — automatic and manual259260> Snapshot CLI and behavior detail moved verbatim to [references/advanced-patterns.md](references/advanced-patterns.md) — automatic add-on, manual snapshots, retention, snapshot pricing.261> Load on demand when planning snapshot schedules.262263### Step 8: Lightsail load balancer (Layer 4 TCP/TLS)264265> Load-balancer CLI and constraints moved verbatim to [references/advanced-patterns.md](references/advanced-patterns.md) — Layer-4 limits, health checks, sticky sessions, HA pattern.266> Load on demand when HA is in scope.267268### Step 9: Container services (optional)269270> Container-service CLI, power levels, and public-endpoint config moved verbatim to [references/advanced-patterns.md](references/advanced-patterns.md).271> Load on demand when the spec includes a container service.272273### Step 10: Lightsail distribution (CDN, optional)274275> Distribution CLI, cache behaviors, and origin limitations moved verbatim to [references/advanced-patterns.md](references/advanced-patterns.md).276> Load on demand when a CDN is in scope.277278### Step 11: Lightsail database (optional, multi-AZ for HA)279280> Database CLI, multi-AZ failover semantics, and public-access rules moved verbatim to [references/advanced-patterns.md](references/advanced-patterns.md).281> Load on demand when the spec includes a Lightsail database.282283### Step 12: Firewall (per-port, per-source)284285```bash286aws lightsail put-instance-public-ports --instance-name prod-instance \287 --port-infos '[288 {"fromPort":22,"toPort":22,"protocol":"TCP","cidrs":["10.0.0.0/8"]},289 {"fromPort":80,"toPort":80,"protocol":"TCP","cidrs":["0.0.0.0/0"]},290 {"fromPort":443,"toPort":443,"protocol":"TCP","cidrs":["0.0.0.0/0"]}291 ]'292```293294Default firewall: 22, 80, 443 from anywhere. Tighten 22 (SSH) to the295corporate CIDR for production. The firewall is stateful — outbound296response traffic is allowed regardless of inbound rules.297298### Step 13: User data (cloud-init)299300```bash301aws lightsail create-instances --instance-names prod-instance \302 --availability-zone us-east-1a --bundle-id medium_3_0 \303 --blueprint-id ubuntu_22_04 \304 --user-data '#!/bin/bash305apt-get update306apt-get install -y nginx307systemctl enable nginx308systemctl start nginx'309```310311User data is a cloud-init script that runs at first boot as root.312Max 16 KB. Use for package installs, service enablement, and bootstrap313configuration. For app+OS blueprints, user data runs AFTER the bundled314stack starts — use it to override defaults.315316### Step 14: SSH key (default or custom)317318```bash319aws lightsail download-default-key-pair --region us-east-1 > lightsail-default-key.pem320chmod 600 lightsail-default-key.pem321ssh -i lightsail-default-key.pem ubuntu@<static-ip>322```323324Lightsail provides a default SSH key per region per account. Download325once per region. For custom keys, upload via the Lightsail console or326`import-key-pair`. SSH as the blueprint's default user (e.g., `ec2-user`327for Amazon Linux, `ubuntu` for Ubuntu, `admin` for Debian).328329## Common patterns330331> The four common deployment patterns moved verbatim to [references/worked-examples.md](references/worked-examples.md) — LAMP+static IP, WordPress HA behind LB, RDS private access via peering, container service API.332> Load on demand for boilerplate lookup.333334## Output format335336> The full ARCHITECTURE/CHECKLIST/FINDINGS/DEPLOY_COMMANDS template moved verbatim to [references/worked-examples.md](references/worked-examples.md); the STRICT block below is the enforced contract.337> Load on demand when emitting the architecture-plan format.338339## STRICT output contract340341### Required output structure342343Every response MUST begin with this block — no preamble, no344conversational opening:345346```text347INSTANCE: <instance-name>348VERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING349TARGET: <instance-name>350PRE_CHECKS:351 - [PASS] <check description>352 - [FAIL] <check description> — <reason>353STEPS:354 1. CONFIRM: About to <operation> instance <name> in account <account> region <region>. This will <consequence>. Estimated monthly cost: <$X>. Proceed? (yes/no)355 2. <exact CLI command — no placeholders>356POST_VERIFY:357 - [PASS] <verification description>358 - [FAIL] <verification description> — <reason>359BLUEPRINT: <OS-only | app+OS> <blueprint_id>360BUNDLE: <bundle_id> (<RAM>/<CPU>/<SSD>/<transfer>)361STATIC_IP: <attached-name | none>362DNS: <zone + A record | none>363VPC_PEERING: <enabled | disabled | not required>364SNAPSHOTS: <automatic daily N-day retention + manual | none>365NOTES: <HA posture, network reachability, cost breakdown>366```367368### FORBIDDEN output patterns369370- NEVER start with "Let me analyze…" or "I'll create…" — the VERDICT371 block is the FIRST line, always. No conversational preamble.372- NEVER use lowercase verdict values — emit `READY_TO_DEPLOY` or373 `PREREQUISITES_MISSING` (not `ready`, `prerequisites`).374- NEVER omit PRE_CHECKS — every pre-check run must appear with `[PASS]`375 or `[FAIL]` and a specific reason for each failure.376- NEVER emit a plan with placeholder values (e.g., `<instance-name>`)377 in a READY_TO_DEPLOY plan — every field must be populated with actual378 values from the input.379- NEVER omit the CONFIRM gate as the first STEPS entry for any380 state-changing operation.381- NEVER claim success without verifying the instance is `running` via382 `get-instance-state` — a partial CLI sequence is non-compliant.383- NEVER silently allow `publicly-accessible: true` on a Lightsail384 database — block it explicitly with a [FAIL] pre-check.385- NEVER allow an app+OS blueprint on a bundle below the vendor minimum386 — block at pre-check with the required bundle ID.387388### Perfect example output389390```text391INSTANCE: prod-lamp392VERDICT: READY_TO_DEPLOY393TARGET: prod-lamp394PRE_CHECKS:395 - [PASS] Blueprint lamp_8 exists in region us-east-1396 - [PASS] Bundle medium_3_0 (4GB/2CPU/80GB/4TB) meets LAMP minimum397 - [PASS] Availability Zone us-east-1a valid in region398 - [PASS] SSH default key exists for region us-east-1399 - [PASS] Static IP prod-lamp-ip allocated, not attached to another instance400 - [PASS] DNS zone example.com exists401 - [PASS] VPC peering not required (no RDS/ElastiCache access in spec)402 - [PASS] Automatic snapshot addon enabled, 05:00 UTC, 7-day retention403 - [PASS] Firewall 22 scoped to corporate CIDR 10.0.0.0/8404 - [PASS] IAM principal holds lightsail:CreateInstances, AttachStaticIp, EnableAddOn, CreateDomainEntry405STEPS:406 1. CONFIRM: About to create-instances prod-lamp in account 111111111111 region us-east-1. LAMP 8 on medium_3_0 (4GB/2CPU/80GB/4TB), AZ us-east-1a, static IP prod-lamp-ip, DNS A app.example.com, daily snapshots. Cost ~$20/mo. Proceed? (yes/no)407 2. aws lightsail create-instances --instance-names prod-lamp --availability-zone us-east-1a --bundle-id medium_3_0 --blueprint-id lamp_8 --user-data '<custom-php-config>' --region us-east-1408 3. aws lightsail wait-instance-running --instance-name prod-lamp409 4. aws lightsail attach-static-ip --static-ip-name prod-lamp-ip --instance-name prod-lamp --region us-east-1410 5. aws lightsail create-domain-entry --domain-name example.com --domain-entry '{"name":"app","type":"A","target":"<static-ip>"}' --region us-east-1411 6. aws lightsail enable-add-on --resource-name prod-lamp --add-on-request '{"addOnType":"AutoSnapshot","snapshotTimeOfDay":"05:00","status":"Active"}' --region us-east-1412 7. aws lightsail put-instance-public-ports --instance-name prod-lamp --port-infos '[{"fromPort":22,"toPort":22,"protocol":"TCP","cidrs":["10.0.0.0/8"]},{"fromPort":80,"toPort":80,"protocol":"TCP","cidrs":["0.0.0.0/0"]},{"fromPort":443,"toPort":443,"protocol":"TCP","cidrs":["0.0.0.0/0"]}]' --region us-east-1413POST_VERIFY:414 - (pending execution)415 - get-instance-state returns running416 - get-instance returns the static IP as publicIpAddress417 - get-domain returns A app.example.com → <static-ip>418BLUEPRINT: app+OS lamp_8419BUNDLE: medium_3_0 (4 GB / 2 CPU / 80 GB SSD / 4 TB transfer)420STATIC_IP: prod-lamp-ip attached421DNS: example.com A app → <static-ip>422VPC_PEERING: not required423SNAPSHOTS: automatic daily 05:00 UTC, 7-day retention424NOTES:425 - Single-instance — no HA. For HA, deploy a second instance in us-east-1b behind a Lightsail load balancer.426 - Bundle includes 4 TB/month outbound transfer. Overage billed at $0.09/GB.427 - Static IP free while attached; billed $3.60/mo if detached.428 - LAMP admin password generated at launch — capture immediately; not retrievable later.429```430431## NEVER (top 5)432433These are the highest-impact, most-frequent failure modes in Lightsail434deployments. Violating any one of these is a correctness or security435regression.4364371. **NEVER configure DNS A records before attaching a static IP.**438 Without a static IP, the instance's public IP changes on stop/start439 — DNS records silently break. Attach the static IP first, then440 create the A record. Pre-check this ordering.4414422. **NEVER assume Lightsail can reach RDS without VPC peering.**443 Lightsail lives in its own VPC, isolated from the default EC2-VPC.444 `peer-vpc` is per-region and MUST be enabled before the instance445 can reach RDS, ElastiCache, or private EC2. Pre-check446 `is-vpc-peered` whenever private resource access is required.4474483. **NEVER deploy a production database with `publicly-accessible:449 true`.** It exposes the DB to the internet. Always set450 `publicly-accessible: false`; reach the DB via peered Lightsail451 instances by private IP. Block at pre-check.4524534. **NEVER deploy an app+OS blueprint on a bundle below the vendor454 minimum.** WordPress on `nano_3_0` (512 MB RAM) installs but fails455 under load — MySQL OOMs, PHP-FPM exhausts workers. Pre-check the456 bundle against the blueprint minimum (`medium_3_0` for most app+OS).4574585. **NEVER leave orphan static IPs.** Attached: free. Detached:459 $0.005/hour (~$3.60/mo). When deleting an instance, also460 `release-static-ip` any IP no longer needed. Pre-check the static461 IP inventory.462463## Expert heuristic: choosing bundle (plan) for workload type464465> The full workload-to-bundle table and decision rules moved verbatim to [references/advanced-patterns.md](references/advanced-patterns.md).466> Load on demand when choosing a bundle (plan).467468## Recent AWS features (2024-2026)469470> The 2024-2026 feature notes moved verbatim to [references/advanced-patterns.md](references/advanced-patterns.md).471> Load on demand when checking recent feature availability.472473## AWS documentation474475- **Amazon Lightsail Documentation** — https://docs.aws.amazon.com/lightsail/476- **Lightsail instances** — https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-compute.html477- **Lightsail blueprints and bundles** — https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-choose-blueprint-and-instance.html478- **Lightsail static IPs** — https://docs.aws.amazon.com/lightsail/latest/userguide/lightsail-static-ip-assigning.html479- **Lightsail DNS zones** — https://docs.aws.amazon.com/lightsail/latest/userguide/lightsail-how-to-create-dns-zone.html480- **Lightsail VPC peering** — https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-understanding-database-amazon-vpc-peering.html481- **Lightsail snapshots** — https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-creating-instance-snapshots.html482- **Lightsail load balancers** — https://docs.aws.amazon.com/lightsail/latest/userguide/lightsail-how-to-create-load-balancer.html483- **Lightsail container services** — https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-container-services.html484- **Lightsail distributions** — https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-content-delivery-distribution.html485- **Lightsail databases** — https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-relational-databases.html486- **Lightsail API Reference** — https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/487488## References (load on demand)489490- [references/worked-examples.md](references/worked-examples.md) — the full output-format template and the four common deployment patterns (LAMP+static IP, WordPress HA, RDS private access, container API).491- [references/advanced-patterns.md](references/advanced-patterns.md) — Step 0 expert behaviors, optional-component deep dives (snapshots, load balancer, container service, distribution, database), the bundle-choice heuristic, and 2024-2026 feature notes.492- [references/diagnostic-commands.md](references/diagnostic-commands.md) — live-account pre-flight CLI checks (IAM, blueprint, bundle, AZ, SSH key, VPC peering, database AZs).493- [references/blueprint-bundle-guide.md](references/blueprint-bundle-guide.md) — blueprint and bundle selection deep guide.494- [references/networking-snapshots-ha-guide.md](references/networking-snapshots-ha-guide.md) — networking, snapshots, and HA topology deep guide.