AWS Batch And API Gateway
AWS Batch
AWS Batch is a service that enables developers, scientists, and engineers to easily and efficiently run hundreds of thousands of batch computing jobs on AWS. It dynamically provisions the optimal quantity and type of compute resources (e.g., EC2 instances) based on the volume and specific resource requirements of the batch jobs submitted.
Key Points:
- Fully managed batch processing.
- Automatically provisions and scales compute resources.
- Supports Docker containers.
- Ideal for high-throughput, parallel processing workloads.
Use Cases:
- Scientific simulations.
- Financial risk modeling.
- Media processing (e.g., video transcoding).
- ETL (Extract, Transform, Load) operations.
AWS API Gateway
Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. It acts as a "front door" for applications to access data, business logic, or functionality from backend services.
Key Points:
- Creates RESTful and WebSocket APIs.
- Integrates with AWS Lambda, EC2, and other services.
- Handles authentication, authorization, and throttling.
- Fully managed and scalable.
Use Cases:
- Building serverless backends for web and mobile apps.
- Exposing microservices.
- Creating public or private APIs for partners/customers.
