Cloud-native development is a modern approach to building and running applications that leverages the merits of the cloud computing model. With cloud-native development, teams can deliver faster and in a more lean and agile manner as compared to traditional approaches. This recipe-based guide provides quick solutions for your cloud-native applications.
Beginning with a brief introduction, JavaScript Cloud-Native Development Cookbook guides you in building and deploying serverless, event-driven, cloud-native microservices on AWS with Node.js. You'll then move on to the fundamental patterns of developing autonomous cloud-native services and understand the tools and techniques involved in creating globally scalable, highly available, and resilient cloud-native applications. The book also covers multi-regional deployments and leveraging the edge of the cloud to maximize responsiveness, resilience, and elasticity.
In the latter chapters you'll explore techniques for building fully automated, continuous deployment pipelines and gain insights into polyglot cloud-native development on popular cloud platforms such as Azure and Google Cloud Platform (GCP). By the end of the book, you'll be able to apply these skills to build powerful cloud-native solutions.
Author(s): John Gilbert
Publisher: Packt Publishing
Year: 2018
Language: English
Pages: 352
Cover
......Page 1
Title Page......Page 2
Copyright and Credits......Page 3
Dedication......Page 4
Packt Upsell......Page 5
Foreword......Page 6
Contributors......Page 8
Table of Contents......Page 10
Preface......Page 17
Introduction......Page 24
How to do it.........Page 25
How it works.........Page 28
How to do it.........Page 30
How it works.........Page 34
How to do it.........Page 35
How it works.........Page 38
Getting ready......Page 40
How to do it.........Page 41
How it works.........Page 43
How to do it.........Page 45
How it works.........Page 48
How to do it.........Page 49
How it works.........Page 52
Chapter 2: Applying the Event Sourcing and CQRS Patterns......Page 54
Creating a data lake......Page 55
How to do it.........Page 56
How it works.........Page 58
Applying the event-first variant of the Event Sourcing pattern......Page 59
How to do it.........Page 60
How it works.........Page 62
How to do it.........Page 63
How it works.........Page 67
Applying the database-first variant of the Event Sourcing pattern with DynamoDB......Page 68
How to do it.........Page 69
How it works.........Page 73
How to do it.........Page 74
How it works.........Page 78
How to do it.........Page 79
How it works.........Page 82
How to do it.........Page 83
How it works.........Page 86
How to do it.........Page 87
How it works.........Page 91
How to do it.........Page 92
How it works.........Page 96
How to do it.........Page 97
How it works.........Page 101
How to do it.........Page 102
How it works.........Page 106
How to do it.........Page 107
How it works.........Page 111
Introduction......Page 113
How to do it.........Page 114
Implementing a search BFF......Page 122
How to do it.........Page 123
How it works.........Page 127
How to do it.........Page 128
How it works.........Page 133
How to do it.........Page 134
How it works.........Page 137
How to do it.........Page 138
Orchestrating collaboration between services......Page 141
How to do it.........Page 142
How it works.........Page 145
How to do it.........Page 146
How it works.........Page 150
Introduction......Page 151
How to do it.........Page 152
How it works.........Page 155
Getting ready......Page 156
How to do it.........Page 157
Serving a website from the CDN......Page 159
How to do it.........Page 160
How it works.........Page 164
How to do it.........Page 165
How it works.........Page 168
How to do it.........Page 169
How to do it.........Page 173
How it works.........Page 177
How to do it.........Page 178
How it works.........Page 182
Introduction......Page 183
How to do it.........Page 184
How it works.........Page 186
How to do it.........Page 187
How it works.........Page 189
How to do it.........Page 190
Getting ready......Page 192
How to do it.........Page 193
Implementing a custom authorizer......Page 195
How to do it.........Page 196
Getting ready......Page 200
How to do it.........Page 201
Implementing a JWT filter......Page 204
How to do it.........Page 205
How it works.........Page 208
How to do it.........Page 209
Creating an SSL certificate for encryption in transit......Page 214
How to do it.........Page 215
Configuring a web application firewall......Page 217
How to do it.........Page 218
How it works.........Page 220
How to do it.........Page 221
How it works.........Page 225
Introduction......Page 226
How to do it.........Page 227
How it works.........Page 230
How to do it.........Page 232
How it works.........Page 233
How to do it.........Page 235
How it works.........Page 238
How to do it.........Page 239
How it works.........Page 240
How to do it.........Page 241
How to do it.........Page 243
How it works.........Page 245
How to do it.........Page 246
How it works.........Page 248
Introduction......Page 249
How to do it.........Page 250
How it works.........Page 251
How to do it.........Page 252
How it works.........Page 254
How to do it.........Page 255
How to do it.........Page 257
How it works.........Page 259
Getting ready......Page 260
How to do it.........Page 261
How it works.........Page 263
Employing proper timeouts and retries......Page 264
How to do it.........Page 265
Implementing backpressure and rate limiting......Page 266
How to do it.........Page 267
How it works.........Page 270
How to do it.........Page 271
How it works.........Page 273
How to do it.........Page 274
How it works.........Page 276
How to do it.........Page 277
How it works.........Page 279
How to do it.........Page 280
How it works.........Page 282
Introduction......Page 283
How to do it.........Page 284
How it works.........Page 286
Getting ready......Page 287
How to do it.........Page 288
How it works.........Page 290
How to do it.........Page 291
How to do it.........Page 293
How it works.........Page 295
How to do it.........Page 296
Utilizing cache-control......Page 298
How to do it.........Page 299
How it works.........Page 300
How to do it.........Page 301
How it works.........Page 303
Introduction......Page 305
How to do it.........Page 306
How it works.........Page 308
How to do it.........Page 310
How it works.........Page 313
How to do it.........Page 314
Implementing regional replication with DynamoDB......Page 318
How to do it.........Page 319
How it works.........Page 321
How to do it.........Page 323
How it works.........Page 327
Introduction......Page 329
How to do it.........Page 330
Creating a service with Azure Functions......Page 332
How to do it.........Page 333
How it works.........Page 335
Other Books You May Enjoy......Page 336
Index......Page 339