Uploading the artifacts to Cloud

In the previous chapter, we deployed our first Lambda function via the AWS CLI. As you remember, we used the locally stored JAR file in the command line, and we saw that having the JAR file on our development machine works for such a simple scenario. However, when we want to deploy our Lambda functions via CloudFormation, we have to upload the very same JAR file to an S3 storage. S3 is the oldest and maybe the most famous AWS offering and provides a scalable and durable storage area for developers. In S3, you can store any type of files and pay only for the storage you actually use. In this chapter, we will introduce S3 to upload our artifacts, but in the following chapters, we will also use it to store uploaded ...

Get Building Serverless Architectures now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.