Skip to main content

Module service

Module service 

Source
Expand description

EC2 service entrypoint: ec2Query dispatch over the per-account state.

Structs§

Ec2Service
Amazon EC2 service.

Constants§

SUPPORTED_ACTIONS
Every EC2 action this build implements. The conformance audit cross-checks this list against the handwritten #[test_action("ec2", …)] tests, so an action added here without a test fails the build. Grows one resource-family batch at a time toward full 767-op parity.

Functions§

save_ec2_snapshot
Persist the current EC2 state as a snapshot. Offloads the serde + blocking file write to the Tokio blocking pool. Noop when store is None (memory mode). Shared by Ec2Service::save_snapshot and the CloudFormation provisioner persist hook so both route through the same serialize-and-write path. Backing containers are not serialized; they are reconciled on restart via Ec2Service::recover_persisted_containers.