AWS Lambda with Spring Boot

Greg Emerick Articles, AWS, Cloud, Development Technologies & Tools, Java, Spring, Spring Boot 12 Comments

The typical deployment scenario for a Spring Boot application in AWS involves running the Java application on an EC2 instance 24 hours a day. Of course, the application could be deployed in AWS ECS as a Docker container, but it still runs continuously on an EC2 instance. In each case, the EC2 instances need to be monitored and you pay for compute capacity used by that EC2 instance.

AWS Lambda provides low cost compute with zero maintenance. Lambda runs your code on demand, without provisioned and managed servers. Lambda automatically runs and scales your code. You are charged for every 100ms your code executes and the number of times your code is triggered. If the code isnโ€™t running, you pay nothing.

Lambda has clear cost and maintenance benefits. But what does it take to run the standard Spring Boot application as a Lambda? How does it work? What are the drawbacks? These are the questions that will be answered in this blog through a tangible example…

Thoughts on Application State

Mat Warger Articles, AWS, JavaScript, React 1 Comment

Use Redux! Use MobX! Just use `setState`!
Redux is functional! Mobx is reactive! `setState` is built-in!
But Redux has so much boilerplate! But MobX is more difficult to debug! But `setState` doesnโ€™t scale!
Why donโ€™t you just use Rematch to abstract the Redux boilerplate? Do I use redux-thunk? redux-saga? redux-observable?
How about using Unstated? How about just using the Context API?

:head-explodes:

There are a lot of options for developers regarding how and when to use state management libraries (SML).

Remember those last two articles (The Joy of Forms with React and Formik &ย One Router to Rule Them All: React Router) about the massively underplayed game library? There was a third part to comeโ€Šโ€”โ€Ša follow-up meant to implement an example of state management for an application. The application was small, granted, but this somewhat contrived example would tie it all up. Itโ€™d be the cherry on top. It would complete the rule of threes.ย ๐Ÿ˜‰

There is not going to be another tutorial about which state library we can use to better manage our game library. Rather, in this post, weโ€™re going to look at how and why you might use a library to manage your applicationโ€™s state, and why that particular application is a perfect example of when you might not need a SML at all.

Keyhole Sponsoring Azure Dev Days Kansas City 2018

Keyhole Software .NET, Articles, Azure, Cloud, Community, Company News, Educational Event Leave a Comment

We are excited to announce Keyhole’s partnership with Microsoft to sponsorย Azure Dev Days, a one-day workshop in Kansas City on Wednesday, April 25, 2018. This is a free community event to provide education on application modernization, microservices, and Microsoftย Azure topics.

In addition to providing technical educators for this workshop, Keyhole Software will sponsor food and beverages. The topics Keyhole will champion include Microservices and Containers, as well as App Services.

Each technical session will be followed by a hands-on Azure lab and a whiteboard design exercise. This workshop will help attendees gain a thorough understanding of the components of Azure and how you can take advantage of them as a developer.

This is a traveling community event, with other events available to attend in St. Louis and Oklahoma City. The event will be held at the Microsoft offices in Overland Park…

Taking on the Azure Developer Certification (70-532) Exam

Vince Pendergrass .NET, Articles, Azure, Cloud, Opinion, Service Fabric 7 Comments

Many of the companies that we work with use various cloud providers (such as Google, Amazon and Microsoft) for IT Service Delivery. This has created a great need for those who assist these companies to possess the technical skills required for proper and effective implementation of such services.

An excellent way to make yourself stand apart from the crowd in this space (and your company for that matter), is to obtain a developer/architect certification, such as the Microsoft Azure Developer Certification. Plus, if your company is focusing on becoming a Microsoft partner, it may be necessary to have a few developers on your team spend some time working to become certified. Fortunately, my awesome company Keyhole Software presented me with this opportunity.

In this blog, I share what I did to prepare for the Azure developer certification, specifically the 70-532 Developing Microsoft Azure Solutions Certification exam. I’ll include a couple of prep tools that helped me significantly, as well as a few unexpected “gotchas” I encountered when taking the exam…

Azure Functions Breakfast Boost Scheduled

Keyhole Software .NET, Articles, Azure, Cloud, Company News Leave a Comment

We are excited to announce the next free public Keyhole Software educational event: Building Your Evil(?) Empire with Azure Functions.

This Breakfast Boost event is a live learning opportunity that is open to the public. The presentation is geared to benefit software developers who are interested in implementing Azure Functions or building Cloud Solutions using JavaScript and .NET technologies.

For this educational talk, Keyhole will bring in guest speaker Bryan Soltis of Kentico, a Microsoft Azure MVP and Technical Evangelist.

This free presentation will be held at the Keyhole Software office in Leawood, Kansas on Wednesday, January 31, 2018 from 8-10 a.m. Space is limited. To get more information and reserve your free tickets, please visit this link to Eventbrite.com or https://azurefunctionswithkeyhole.eventbrite.com…