• Work
  • Capabilities
  • Culture
  • Careers
  • Work
  • Capabilities
  • Culture
  • Careers
  • News and Insights
  • Connect
Subscribe to the PMG Newsletter

Brands are investing ever more in Amazon Advertising. Get the best practices to optimize your campaigns. Learn more

13 December, 2016

Goodbye Servers, Hello Monitoring: Takeaways from re:Invent 2016

Posted by Christopher Davis

A few weeks post-re:Invent the hours of sessions and conversation have had a chance to sink in. Two years ago my takeaways from re:Invent were about microservers and stateless applications being the future. In a way a lot of the focus, two years later, is still on stateless microservices. Today, however, the future seems to be abandoning servers in favor of AWS lambda and other serverless providers.

Lambda as Glue

Serverless does not have to mean entire API’s and applications backed by functions-as-a-service. Instead, we should think of Lambda as glue that lets us customize the execution of AWS backed applications. This can mean anything from reacting to notifications to using Lambda to creating more complex, self-healing architectures.

Say you have an autoscaling group that backs an ECS cluster. When one of these servers looses contact with the ECS service, it should be marked as unhealthy and taken out of service. This is something that AWS itself should offer, but doesn’t currently.

Before Lambda you’d have to setup CloudWatch alarms and SNS notifications and some other server to listen for events related to a server losing contact with the cluster so actions could be taken. That’s yet another application to maintain. With lambda, you can react to those events without provisioning and maintaining infrastructure.

Lambda becomes the glue -which you can build utilities to make AWS act however you desire. That is profoundly powerful.

It’s also kind of boring and doesn’t get nearly as much press as it should.

Monitor All the Things

Without servers, and those wonderful log files they produce, we’re without the traditional tools to debug production issues. Which leads us to monitoring. There were a ton of presentations around monitoring as well as a fair amount of vendors in the expo hall selling monitoring solutions.

These solutions are wide ranging in scope, from monitoring your infrastructure as a whole for security issues to metrics for a fully dynamic inventory of servers.

Whatever it is, you’re probably not doing enough monitoring. There’s stuff built into AWS that’s nice, but my big takeaway was application specific monitoring’s value.

By that I mean the domain-specific metrics your application can track over time. This sort of thing could be used to track performance or determine the success of feature. Got some batch process? Time it and push that metric somewhere to visualize it over time. See what sort of trends your application is operating on.

React to Metrics

The metrics your application produces can be reacted to using serverless tooling. Remember that batch process? If it takes longer than normal, alert on it so your teams can look into it. The cool thing about functions-as-a-service is that complex logic can be done to determine if an alert needs to be sent.

Similarly, security events that can be monitored can be reacted to. One presentation I attended had a lambda function that re-enabled CloudTrail whenever it was turned off in addition to alerting a security team about the event.

These reactionary or self-healing capabilities are really where monitoring and serverless come together to form an extremely useful solution.

 

awsconferenceslambdamonitoringreinvent

 

Previous
Next

Latest White Papers

  • Why Voice Matters: Identifying the Latest Opportunities in Voice Search
  • eSports Advertising and How Brands Can Get in the Game
  • Navigating the Amazon Ecosystem
  • See all White Papers

Featured Posts

  • Breaking New Ground at PMG with WeCollective
  • Getting Started with Digital Marketing in India
  • 5 Things to Know About Generation Z
  • Being Your Authentic Self in the Workplace
  • Using Social to Build Buzz

Categories

  • Content
  • Creative Design
  • Data Analytics
  • Development
  • Display
  • Industry News
  • Local
  • Mobile
  • Paid Search
  • PMG Culture
  • SEO
  • Social Media
  • Structured Data
  • Video

Fort Worth (HQ)

2845 W. 7th Street
Fort Worth, TX 76107

Austin

301 Congress Ave
Ste 220
Austin, TX 78701

Dallas

3102 Oak Lawn Ave
Ste 650
Dallas, TX 75219

Los Angeles

520 Broadway
Santa Monica, CA 90401

London

2 Sheraton Street
London
W1F 8BH

Follow Us

Subscribe to the PMG Newsletter
© 2019 PMG Worldwide LLC. All Rights Reserved.
  • Privacy
  • Contact
  • (817) 420-9970
We and our partners use cookies to personalize content, analyze traffic, and deliver ads. By using our website, you agree to the use of cookies as described in our Cookie Policy.