Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
JavaScript Cloud Native Development Cookbook

You're reading from   JavaScript Cloud Native Development Cookbook Deliver serverless cloud-native solutions on AWS, Azure, and GCP

Arrow left icon
Product type Paperback
Published in Sep 2018
Publisher Packt
ISBN-13 9781788470414
Length 352 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
John Gilbert John Gilbert
Author Profile Icon John Gilbert
John Gilbert
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Getting Started with Cloud-Native 2. Applying the Event Sourcing and CQRS Patterns FREE CHAPTER 3. Implementing Autonomous Services 4. Leveraging the Edge of the Cloud 5. Securing Cloud-Native Systems 6. Building a Continuous Deployment Pipeline 7. Optimizing Observability 8. Designing for Failure 9. Optimizing Performance 10. Deploying to Multiple Regions 11. Welcoming Polycloud 12. Other Books You May Enjoy

To get the most out of this book

To follow along with the recipes in this cookbook, you will need to configure your development environment according to these steps:

  1. Install Node Version Manager (https://github.com/creationix/nvm or https://github.com/coreybutler/nvm-windows)
  2. Install Node.js with nvm install 8
  3. Install the Serverless Framework with npm install serverless -g
  4. Create a MY_STAGE environment variable with export MY_STAGE=<your-name>
  5. Create an AWS account (https://aws.amazon.com/free) and configure your credentials for the Serverless Framework (https://serverless.com/framework/docs/providers/aws/guide/credentials)

    Download the example code files

    You can download the example code files for this book from your account at http://www.packt.com. If you purchased this book elsewhere, you can visit www.packt.com/support and register to have the files emailed directly to you.

    You can download the code files by following these steps:

    1. Log in or register at www.packt.com.
    2. Select the SUPPORT tab.
    3. Click on Code Downloads & Errata.
    4. Enter the name of the book in the Search box and follow the onscreen instructions.

    Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

    • WinRAR/7-Zip for Windows
    • Zipeg/iZip/UnRarX for Mac
    • 7-Zip/PeaZip for Linux

    The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/JavaScript-Cloud-Native-Development-Cookbook. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

    Download the color images

    Conventions used

    There are a number of text conventions used throughout this book.

    CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The first thing to note is that we must define runtime: nodejs8.10 in the serverless.yml file."

    A block of code is set as follows:

    module.exports.hello = (event, context, callback) => {
    console.log('event: %j', event);
    console.log('env: %j', process.env);

    callback(null, 'success');
    };

    When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

    service: cncb-create-function
    ...
    functions:
    hello:
    handler: handler.hello

    Any command-line input or output is written as follows:

    $ npm run dp:lcl -- -s $MY_STAGE

    Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select Monitors | New Monitor | Event"

    Warnings or important notes appear like this.
    Tips and tricks appear like this.
    lock icon The rest of the chapter is locked
    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
    Banner background image