Book description
Choose the right architecture and design it using design patterns to create a serverless application that cuts costs and is easily scalable
Key Features
- Design enterprise ready serverless applications that effortlessly meet your customers' requirements
- Effectively deploy, manage, monitor, and orchestrate serverless applications using AWS
- Use Cloud9 to provision a secured development environment in the cloud
Book Description
Serverless is a cloud computing execution model where the cloud provider dynamically manages the allocation and provisioning of servers. Many companies have started using serverless architectures to cut costs and improve scalability. Hands-On Serverless Applications with Kotlin is your one-stop guide to designing serverless architectures for your applications with AWS and Kotlin.
To start with, you'll explore the fundamentals of serverless architecture and how AWS Lambda functions work. You will then learn to design, build, secure, and deploy your application to production. In addition to these activities, you'll understand how to implement non-functional requirements such as auditing and logging. Moving on, you'll discover how to scale up and orchestrate serverless applications using an open source framework and handle distributed serverless systems in production.
By the end of the book, you'll have gained the knowledge needed to build scalable and cost-efficient Kotlin applications with a serverless framework.
What you will learn
- Design a serverless architecture
- Use AWS Lambda to contain your serverless API
- Explore the various ways to keep serverless apps safe and secure
- Understand how a serverless API allows you to use huge infrastructure and cut costs
- Discover how to handle distributed systems in Kotlin
- Design the data flow between cloud services and custom business logic
- Secure your Kotlin AWS serverless application
- Master Kotlin design patterns for serverless applications
Who this book is for
Hands-On Serverless Applications with Kotlin is for you if you are a Kotlin developer who wants to learn about serverless architectures. It is assumed that you have some knowledge of Kotlin programming and AWS.
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Basics of Serverless
- AWS Serverless Offerings
-
Designing a Kotlin Serverless Application
-
The problem statement
- Analyzing the problem statement
- Functional specifications of the app
- Designing the serverless API 
- Architectural and design decisions
- System design
- Note on the local development environment
- Summary
-
The problem statement
- Developing Your Serverless Application
- Improving Your App with Firebase Service
- Analyzing Your Application
-
Secure Your Application
- AWS security concepts
- Infrastructure hardening
- Practical walk–through
- Summary
-
Scale Your Application
- Infrastructure as code
- Serverless Framework
-
Practical walk-through
- Getting started
- Bootstrapping the project
- Provisioning the VPC
- Provisioning IAM policies and roles for Lambda execution
- Provisioning a Cognito user pool
- Provisioning the KMS key
- Provisioning RDS
- Provisioning lambda functions
- Caveats while scaling Serverless applications
- Summary
-
Advanced AWS Services
- AWS Cloud9
-
AWS Alexa
- Introduction to Alexa
- Building blocks
-
Walkthrough of creating a simple custom Alexa Skill
- Problem statement
-
Creating a skill
- Registration on Amazon Developer Console
- Naming a skill
- Defining invocations
- Defining intents and utterances
- Linking the functional endpoint
- Creating a Lambda function
- A few tweaks
- The build.gradle file
- Entrypoint handler function
- Technical architecture handler
- The serverless.yaml file
- Building the lambda function
- Deploying the lambda function
- Linking the Lambda to the Skill
- Testing
- Applying the finishing touches
- Distribution and certification
- Summary
- Other Books You May Enjoy
Product information
- Title: Hands-On Serverless Applications with Kotlin
- Author(s):
- Release date: September 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788993708
You might also like
book
Hands-On Microservices with Kotlin
Build smart, efficient, and fast enterprise-grade web implementation of the microservices architecture that can be easily …
book
Hands-On Object-Oriented Programming with Kotlin
Learn everything you need to know about object-oriented programming with the latest features of Kotlin 1.3 …
book
Kotlin Cookbook
Use Kotlin to build Android apps, web applications, and more—while you learn the nuances of this …
book
Functional Kotlin
Learn how to apply Functional Programming with Kotlin to real-life projects with popular libraries like Arrow. …