Skip to content

Repository for JAVASpektrum article on next generation Infrastructure as Code using Pulumi and Java.

License

Notifications You must be signed in to change notification settings

lreimer/nextgen-iac-pulumi-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven Java CI with Maven

Next-Generation Infrastructure as Code

Cloud Infrastructure with Pulumi and Java

Repository for JAVASpektrum article on next generation Infrastructure as Code using Pulumi and Java.

In this repository, we will build a complete infrastructure for a microservice application in the Google Cloud Platform (GCP) as an example. To operate the application, we need an artifact registry to store the Docker image, a Kubernetes cluster to execute it, and a PostgreSQL database to store data. Finally, the microservice will be deployed to Kubernetes. Built entirely using Pulumi and Java.

# to create the entire infrastructure
pulumi up

# obtain kubeconfig and get resources
pulumi stack output kubeconfig --show-secrets > kubeconfig

KUBECONFIG=$PWD/kubeconfig kubectl cluster-info
KUBECONFIG=$PWD/kubeconfig kubectl get nodes
KUBECONFIG=$PWD/kubeconfig kubectl get --namespace microservice all

# to destroy the entire infrastructure
pulumi destroy

Maintainer

M.-Leander Reimer (@lreimer), mario-leander.reimer@qaware.de

License

This software is provided under the MIT open source license, read the LICENSE file for details.

About

Repository for JAVASpektrum article on next generation Infrastructure as Code using Pulumi and Java.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages