---
title: "Java and Pulumi"
description: "Tutorials, templates, examples, and workshops to help you build and manage your infrastructure with Java."
url: "https://www.pulumi.com/dev/language/java/"
image: "https://www.pulumi.com/assets/og/dev/language/java.png"
---

# Java and Pulumi

Tutorials, templates, examples, and workshops to help you build and manage your infrastructure with Java.

## Tutorials

- [Managing Configuration and Secrets](https://www.pulumi.com/dev/tutorials/managing-config-and-secrets.md): Learn how to manage plain-text and encrypted configuration values in Pulumi. — TypeScript, Python, Go, .NET, Java, YAML
- [Inspecting Infrastructure](https://www.pulumi.com/dev/tutorials/inspecting-infrastructure.md): Learn how to inspect your Pulumi resources in this tutorial. — TypeScript, Python, Go, .NET, Java, YAML
- [Building with Pulumi](https://www.pulumi.com/dev/tutorials/building-with-pulumi/): Learn how to use Pulumi for more complex configurations with multiple environments. — TypeScript, Python, Go, .NET, Java, YAML
- [Build and push container images to Amazon ECR](https://www.pulumi.com/dev/tutorials/aws-ecr.md): Provision ECR repositories, build and publish images, and manage lifecycle policies with AWSx. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Build serverless APIs with Amazon API Gateway](https://www.pulumi.com/dev/tutorials/aws-api-gateway.md): Create and manage API Gateway REST APIs — Lambda, S3, HTTP proxies, auth, and more — with AWSx. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Deleting Helm Chart Default Values](https://www.pulumi.com/dev/tutorials/deleting-helm-chart-default-values.md): Learn how to remove a Helm chart default value in Pulumi by setting it to null. — Kubernetes · TypeScript, Python, Go, .NET, Java, YAML
- [Deploy containerized applications to Amazon ECS](https://www.pulumi.com/dev/tutorials/aws-ecs.md): Load-balanced Fargate services, custom VPC networking, and automatic container image builds with AWSx. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Enhanced Region Support in AWS](https://www.pulumi.com/dev/tutorials/aws-enhanced-region-support.md): Manage multi-Region AWS infrastructure with the per-resource region argument in Pulumi AWS Provider v7. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Load-balance traffic on AWS with ELB](https://www.pulumi.com/dev/tutorials/aws-elb.md): Provision Application and Network Load Balancers and wire them to your AWS services with AWSx. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Manage access with AWS IAM](https://www.pulumi.com/dev/tutorials/aws-iam.md): Create and manage AWS users, groups, roles, and policies with Pulumi. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Managing Resources with Server-Side Apply](https://www.pulumi.com/dev/tutorials/managing-resources-with-server-side-apply.md): Manage Kubernetes resources with Server-Side Apply using Pulumi. — Kubernetes · TypeScript, Python, Go, .NET, Java, YAML
- [Provision an AWS VPC](https://www.pulumi.com/dev/tutorials/aws-vpc.md): Out-of-the-box VPC networking that follows AWS best practices, with AWSx. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Run Kubernetes on Amazon EKS](https://www.pulumi.com/dev/tutorials/aws-eks.md): Provision EKS clusters, node groups, and Kubernetes workloads — including Helm charts — with Pulumi. — AWS, Kubernetes · TypeScript, Python, Go, .NET, Java, YAML
- [Run serverless functions on AWS Lambda](https://www.pulumi.com/dev/tutorials/aws-lambda.md): Build serverless applications with AWS Lambda and Pulumi, including magic functions. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Typed CustomResources with Provider Extensions](https://www.pulumi.com/dev/tutorials/typed-customresources-with-provider-extensions.md): Generate typed SDKs for your Kubernetes CRDs with Pulumi provider extensions. — Kubernetes · TypeScript, Python, Go, .NET, Java, YAML

## Templates

- [AWS Java Starter](https://www.pulumi.com/dev/templates/aws-java.md): A minimal AWS Java Pulumi program — AWS · Java · One-click deploy
- [Azure Java Starter](https://www.pulumi.com/dev/templates/azure-java.md): A minimal Azure Native Java Pulumi program — Azure · Java · One-click deploy
- [Google Cloud Java Starter](https://www.pulumi.com/dev/templates/gcp-java.md): A minimal Google Cloud Java Pulumi program — Google Cloud · Java · One-click deploy
- [Kubernetes Java Starter](https://www.pulumi.com/dev/templates/kubernetes-java.md): A minimal Kubernetes Java Pulumi program — Kubernetes · Java · One-click deploy
- [Random Java Starter](https://www.pulumi.com/dev/templates/random-java.md): A minimal Random Java Pulumi program — Java · One-click deploy
- [AWS Scala Starter](https://www.pulumi.com/dev/templates/aws-scala.md): A minimal AWS Scala Pulumi program — AWS · Java · One-click deploy
- [Java Starter](https://www.pulumi.com/dev/templates/java.md): A minimal Java Pulumi program with Maven builds — Java · One-click deploy
- [Java Gradle Starter](https://www.pulumi.com/dev/templates/java-gradle.md): A minimal Java Pulumi program with Gradle builds — Java · One-click deploy
- [Java JBang Starter](https://www.pulumi.com/dev/templates/java-jbang.md): A minimal Java Pulumi program with JBang — Java · One-click deploy
- [Kubernetes OVHcloud Java Starter](https://www.pulumi.com/dev/templates/kubernetes-ovh-java.md): A Java program to deploy a Kubernetes cluster on OVHcloud — Kubernetes · Java · One-click deploy
- [Oracle Cloud Java Starter](https://www.pulumi.com/dev/templates/oci-java.md): A minimal Java Pulumi program with Maven builds — Oracle Cloud · Java · One-click deploy
- [OVHcloud Java Starter](https://www.pulumi.com/dev/templates/ovh-java.md): A minimal OVHcloud Java Pulumi program — OVHcloud · Java · One-click deploy

## Examples

- [Deploy WordPress to AWS EC2 using Pulumi and Ansible](https://www.pulumi.com/dev/examples/aws-java-ansible-wordpress.md): Deploy an EC2 Wordpress server using Pulumi and Ansible. — AWS · Java · One-click deploy
- [Minimal EKS cluster (in Java)](https://www.pulumi.com/dev/examples/aws-java-eks-minimal.md): A minimal example of using pulumi-eks — AWS · Java · One-click deploy
- [Web server using Amazon EC2](https://www.pulumi.com/dev/examples/aws-java-webserver.md): Basic example of an AWS web server accessible over HTTP — AWS · Java · One-click deploy
- [Azure App Service with SQL Database and Application Insights](https://www.pulumi.com/dev/examples/azure-java-appservice-sql.md): Creates Azure App Service with SQL Database and Application Insights — Azure · Java · One-click deploy
- [Azure Function with Spring Boot Native and GraalVM](https://www.pulumi.com/dev/examples/azure-java-function-graal-spring.md): Deploys Spring Boot application packaged with GraalVM using Pulumi on Azure from Java definitions — Azure · Java · One-click deploy
- [Static website using Azure Blob Storage and CDN](https://www.pulumi.com/dev/examples/azure-java-static-website.md): Deploys a static website with Pulumi on Azure from Java definitions — Azure · Java · One-click deploy
- [Google Kubernetes Engine (GKE) cluster](https://www.pulumi.com/dev/examples/gcp-java-gke-hello-world.md): A Google Kubernetes Engine (GKE) + Kubernetes Hello World example — Google Cloud · Java · One-click deploy
- [Example stack README in Pulumi Cloud](https://www.pulumi.com/dev/examples/stack-readme-java.md): A minimal Java Pulumi program demonstrating Stack Readmes — Java · One-click deploy

## Workshops

- [Get Started with Infrastructure as Code on Azure with Java](https://www.pulumi.com/events/getting-started-infrascructure-as-code-azure-java/): Learn the basics of Azure and Pulumi with a hands-on lab that will take you from deploying a simple static website to deploying a Spring Boot application. — Azure · Java
- [Getting Started with AWS for Java Developers](https://www.pulumi.com/events/getting-started-with-aws-java/): Accelerate cloud operations with Java skills. Discover how Pulumi helps deploy and manage infrastructure across any cloud with enterprise security. — AWS · Java
- [Serverless Java Production: Resilience & Optimization in GCP](https://www.pulumi.com/events/serverless-java-production-resilience-and-optimization-gcp/): Join this workshop for direct Google advice on serverless architecture, delivered with the power and convenience of Pulumi’s cloud orchestration platform. — Google Cloud · Java
