Hands-on serverless applications with Go build real-world, production-ready applications with AWS Lambda
Learn to build, secure, deploy, and manage your serverless application in Golang with AWS Lambda Key Features Implement AWS lambda to build scalable and cost-efficient applications in Go Design and set the data flow between cloud services and custom business logic Learn to design Lambda functions us...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing
[2018]
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630696506719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Table of Contents
- Preface
- Chapter 1: Go Serverless
- The serverless paradigm
- The cloud-computing evolution
- Infrastructure as a Service
- Platform as a Service
- Container as a Service
- Function as a Service
- Serverless architecture
- Benefits of going serverless
- Drawbacks of going serverless
- Serverless cloud providers
- AWS Lambda
- Source events
- Use cases
- Go serverless
- Summary
- Questions
- Chapter 2: Getting Started with AWS Lambda
- Technical requirements
- Setting up the AWS environment
- The AWS command line
- Installing the AWS CLI
- AWS Management Console
- Configuration
- Testing
- Setting up the Go environment
- The runtime environment
- The development environment
- Summary
- Questions
- Chapter 3: Developing a Serverless Function with Lambda
- Technical requirements
- Writing a Lambda function in Go
- Execution role
- Deployment package
- Uploading a ZIP file
- Uploading from Amazon S3
- Event testing
- Summary
- Questions
- Chapter 4: Setting up API Endpoints with API Gateway
- Technical requirements
- Getting started with API Gateway
- Setting up an API endpoint
- Debugging and troubleshooting
- Invoking the function with an HTTP request
- Building a RESTful API
- API architecture
- Endpoints design
- The GET method
- The GET method with parameters
- The POST method
- Summary
- Chapter 5: Managing Data Persistence with DynamoDB
- Technical requirements
- Setting up DynamoDB
- Creating a table
- Loading sample data
- Working with DynamoDB
- Scan request
- GetItem request
- PutItem request
- DeleteItem request
- Summary
- Questions
- Chapter 6: Deploying Your Serverless Application
- Lambda CLI commands
- The list-functions command
- The create-function command.
- The update-function-code command
- The get-function-configuration command
- The invoke command
- The delete-function command
- Versions and aliases
- Versioning
- FindAllMovies v1.0.0
- FindAllMovies v1.1.0
- Semantic Versioning
- Aliases
- Stage variables
- Summary
- Chapter 7: Implementing a CI/CD Pipeline
- Technical requirements
- Continuous Integration and deployment workflow
- Continuous Integration
- Continuous Deployment
- Continuous Delivery
- Automating the deployment of Lambda functions
- Continuous Deployment with CodePipeline and CodeBuild
- Source provider
- Build provider
- Deploy provider
- Continuous Pipeline with Jenkins
- Distributed builds
- Setting up a Jenkins job
- Git Hooks
- Continuous Integration with Circle CI
- Identity and access management
- Configuring the CI Pipeline
- Summary
- Questions
- Chapter 8: Scaling Up Your Application
- Technical requirements
- Load testing and scaling
- Lambda autoscaling
- Downstream resources
- Private Lambda functions
- Concurrent execution
- Lambda throttling
- Concurrency reservation
- Summary
- Chapter 9: Building the Frontend with S3
- Technical requirements
- Single Page Application
- Developing web applications with Angular
- Generating your first Angular component
- Accessing Rest web services with Angular
- Cross Origin Resource Sharing
- S3 static website hosting
- Setting up an S3 bucket
- Setting up Route 53
- Certificate Manager
- CloudFront distribution
- CI/CD workflow
- API documentation
- Summary
- Questions
- Chapter 10: Testing Your Serverless Application
- Technical requirements
- Unit testing
- Automated unit tests
- Integration testing
- RPC communications
- Serverless Application Model
- Load testing
- Summary
- Questions
- Chapter 11: Monitoring and Troubleshooting.
- Monitoring and debugging with AWS CloudWatch
- CloudWatch metrics
- CloudWatch alarms
- CloudWatch logs
- Tracing with AWS X-Ray
- Summary
- Chapter 12: Securing Your Serverless Application
- Technical requirements
- Authentication and user control access
- Securing API access
- User management with AWS Cognito
- Setting up a test user via the AWS Management Console
- Setup using Cognito Golang SDK
- Encrypted environment variables
- Data encryption at rest
- Data encryption in transit
- Logging AWS Lambda API calls with CloudTrail
- Vulnerability scanning for your dependencies
- Summary
- Questions
- Chapter 13: Designing Cost-Effective Applications
- Lambda pricing model
- Lambda cost calculator
- Optimal memory size
- Code optimization
- Lambda cost and memory tracking
- Summary
- Chapter 14: Infrastructure as Code
- Technical requirements
- Deploying AWS Lambda with Terraform
- Creating the Lambda function
- Setting up DynamoDB table
- Configuring API Gateway
- Cleaning up
- Deploying AWS Lambda with CloudFormation
- CloudFormation designer
- Deploying AWS Lambda with SAM
- Exporting a serverless application
- Summary
- Questions
- Assessments
- Other Books You May Enjoy
- Index.