{{ define "hero" }}
{{ partial "hero" (dict "title" "Migrating to Pulumi from CloudFormation") }}
{{ end }}
{{ define "main" }}
AWS CloudFormation provides a configuration DSL for you to describe and provision infrastructure resources on AWS.
Pulumi enables you to describe the same infrastructure resources as real code, providing huge productivity gains, while decreasing the brittleness of YAML-based
configuration files.
In this example, we use JavaScript to create a simple web server on AWS using EC2.
This code creates the necessary security group, deploys a very simple web server for example purposes, and then creates the instance, before exporting the IP
and hostname.
Pulumi can be used on any resource on AWS, Azure, Google Cloud, Kubernetes, and OpenStack, covering serverless, containers, and infrastructure.Increase productivity with programming languages
Creating a Simple Web Server on AWS