Shuttle Architecture
Understand how Shuttle's infrastructure-from-code platform works under the hood
Overview
Core Architecture
The Shuttle Runtime
import shuttle_runtime
import shuttle_task
from shuttle_aws.s3 import Bucket, BucketOptions
from shuttle_aws.rds import RdsPostgres, RdsPostgresOptions
from typing import Annotated
@shuttle_task.cron(schedule="0 3 * * ? *")
async def run(
bucket: Bucket: Annotated[
Bucket, BucketOptions(bucket_name="my-bucket", policies=[])
],
db: Annotated[RdsPostgres, RdsPostgresOptions()],
):
# Your app code here - infrastructure is ready
passResource Provisioning System
Deployment Pipeline
Isolation and Security
Design Principles
Developer Experience First
Infrastructure Transparency
Scalability by Design
Comparison with Traditional Approaches
Traditional Deployment
Shuttle Approach
Resource Lifecycle
Understanding the Platform Benefits
Last updated