Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering Go for DevOps

You're reading from   Mastering Go for DevOps Master building, automating, and scaling cloud infrastructure with Go

Arrow left icon
Product type Paperback
Published in Dec 2025
Publisher Packt
ISBN-13 9781837027330
Length 370 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Engin Polat Engin Polat
Author Profile Icon Engin Polat
Engin Polat
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1: Go Foundations - CLI, Monitoring, and APIs
2. Developing Command-Line Interfaces with Go FREE CHAPTER 3. Packaging and Distributing Go CLIs 4. Integrating Go Applications with Prometheus 5. Writing Go Exporters for Prometheus 6. Building and Consuming RESTful APIs with Go 7. Working with gRPC and Microservices Architecture 8. Part 2: Build Custom Terraform Providers with Go
9. Using Go to Build Custom Terraform Providers 10. Writing Unit Tests and Integration Tests for Terraform Providers 11. Documenting and Publishing Terraform Providers 12. Automating Testing in Pipelines 13. Part 3: Go for Cloud Services
14. Integrating Go Applications with the AWS SDK 15. Integrating Go Applications with the Azure SDK 16. Serverless Computing Using AWS Lambda 17. Serverless Computing Using Azure Functions 18. Unlock Your Exclusive Benefits 19. Other Books You May Enjoy
20. Index

Integrating AWS Lambda with other AWS services

Integrating AWS Lambda with other AWS services is a very important pattern for building scalable, serverless applications. In this section, we’ll explore how to connect Lambda functions with services such as API Gateway, Amazon SNS, Amazon DynamoDB, and Amazon SQS.

Integrating Lambda with API Gateway

API Gateway acts as a front door for Lambda functions, allowing us to expose them as RESTful APIs. For a URL shortener, we might have an endpoint that accepts a long URL and returns a shortened version. When a client sends a POST request to this endpoint, API Gateway invokes the corresponding Lambda function. The function processes the request, generates a short URL, and returns the response. This setup enables us to build a serverless API without managing any infrastructure.

The Lambda function code itself doesn’t change when we add API Gateway in front of it. API Gateway simply acts as a proxy that receives HTTP...

lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering Go for DevOps
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon