O'Reilly logo

Serverless Single Page Apps by Ben Rady

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Analyze S3 Web Traffic

So we’ve got a great way to monitor the web services that we’re using, but we still need a way to see what the application itself is doing. In a traditional web app, we would normally front our application server with a dedicated web server, like Apache or Nginx. In addition to other tasks, this web server could provide access logs that we could use to monitor our traffic.

Of course, using the traditional approach, you also need a way to aggregate those logs from all of your web servers as you scale horizontally. Because we’re using Amazon S3 to host our app, we don’t have that problem. However, the logs that S3 produces are a little different than the kinds of logs created by a traditional web server, so we’re going to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required