Managing Docker Containers with OpenShift and Kubernetes

Casey Justus Articles, AWS, Cloud, Development Technologies & Tools, DevOps, Docker, Microservices, openshiftseries Leave a Comment

For the last few years, Docker containers have been all the rage in the DevOps world. After all, what’s not to like? They allow you to strip out 99% of stuff in your VM and just deploy your code.

Containers can save resources, speed deployment, scale well and offer more fault tolerance. But how do you manage them?

In my experience, the Docker Machine and Docker Swarm stack hasn’t lived up my to expectations. It has a limited API, no support for monitoring and logging, and much more manual scaling. AWS’s EC2 containers scale well, but you’ll be locked into Amazon.

In my opinion, the best current stack for Docker containers includes Kubernetes and OpenShift. In this blog I will give a brief introduction to Kubernetes + OpenShift with an eye for what they do well…

Explosive Tutorial With Unity3D and VRTK

Robert Rice .NET, Articles, Development Technologies & Tools, Tutorial Leave a Comment

Opinions on the emerging Virtual Reality market vary. One one end, there are those who say it’s just a gimmick and will pass shortly. On the other end, there are those who herald it as the birth pangs of a paradigm shift in how we interact with technology.

I sit somewhere in the middle. I own an HTC Vive and it is pretty dang awesome. The experience is not perfect, of course, but with interest growing and prices coming down, it’s just going to get better.

One expression of VR’s growing popularity is that Unity3D supports VR programming. And, with the free VRTK (Virtual Reality Tool Kit) framework, it’s becoming much easier to get started programming for VR. VRTK implements many basic components, such as various movement implementations, object interaction, and projectiles.

Working on a fun little side project, I noticed one implementation it did not have: a virtual reality bomb. So, I set upon to create one myself. This post details the process I went through for creating a timed, throwable, explosive object for virtual reality using Unity3D & VRTK.

Advanced Node.js Process Management with PM2

Matthew Brown Articles, Development Technologies & Tools, JavaScript, Node.js, Tutorial 18 Comments

If you’ve worked on any front end applications recently, you have likely had some contact with a Node/Express application. What you may not be familiar with is how these applications are managed in production.

I recently had a project where I needed to set up a Node application on an AWS server. I needed a tool to solve the technical challenges of managing the Node processes and deploying the application in a very efficient manner.

I chose PM2, which is a handy process management tool for running Node.js applications in production environments. PM2 provides a simple command line interface that makes it easy to get started. This powerful Node module has tools for managing application processes, logging, and more.

In this article, I provide an introduction to PM2, showing why it is such a valuable tool for managing Node.js applications. By way of a reference example application, we show the basic features and commands for using PM2 and give examples of generating configuration files for both running and deploying applications.

The Joy of Forms with React and Formik

Mat Warger Articles, Development Technologies & Tools, JavaScript, React, Tutorial 9 Comments

React is a JavaScript library for building user interfaces. That’s it. It’s a way to use JavaScript to define UI elements based on user-defined properties and internal state.

It has a clean, functional style. You can create simple components that compose very well into larger components, which you can then use to compose pages and entire applications. This simple composability is one of the main reasons I enjoy working with it.

But, it is not an application framework. It doesn’t pretend to be. This can be useful when all you want is some quick UI. But, as the application grows, you will need to depend on outside libraries for things like state-management, routing, and forms.

In this article, learn how to handle form input with React, from basic form input using simple state through advanced form components using Formik….

Using Docker + AWS to Build, Deploy and Scale your App

Brandon Klimek Articles, AWS, Cloud, DevOps, Docker, Python, Spring, Spring Boot, Tutorial 8 Comments

I recently worked to develop a software platform that relied on Spring Boot and Docker to prop up an API. Being the only developer on the project, I needed to find a way to quickly and efficiently deploy new releases. However, I found many solutions overwhelming to set up.

That was until I discovered AWS has tools that allow any developer to quickly build and deploy their application.

In this 30 minute tutorial, you will discover how to utilize the following technologies:
– AWS CodeCommit – source control (git)
– AWS Code Build – source code compiler, rest runner
– AWS Codepipeline – builds, tests, and deploys code every time the repo changes
-AWS Elastic Beanstalk – service to manage EC2 instances handling deployments, provisioning, load balancing, and health monitoring
-Docker + Spring Boot – Our containerized Spring Boot application for the demo

Once finished, you will have a Docker application running that automatically builds your software on commit, and deploys it to the Elastic beanstalk sitting behind a load balancer for scalability. This continuous integration pipeline will allow you to worry less about your deployments and get back to focusing on feature development within your application.