* add back getting started page * decollapse getting started guide * update style * remove quickstart files scss file * lint * assets * update links * update links * update links * update links * update link
3.3 KiB
title_tag, title, h1, meta_desc, weight, menu, aliases
title_tag | title | h1 | meta_desc | weight | menu | aliases | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Before You Begin | AWS | Before you begin | Pulumi & AWS: Before you begin | This page provides an overview on how to get started with Pulumi when starting an AWS project. | 2 |
|
|
Before you get started using Pulumi, let's run through a few quick steps to ensure your environment is set up correctly.
Install Pulumi
{{< install-pulumi >}} {{% notes "info" %}} All Windows examples in this tutorial assume you are running in PowerShell. {{% /notes %}} {{< /install-pulumi >}}
Next, install the required language runtime, if you have not already.
Install Language Runtime
Choose Your Language
{{< chooser language "javascript,typescript,python,go,csharp,java,yaml" / >}}
{{% choosable language "javascript,typescript" %}} {{< install-node >}} {{% /choosable %}}
{{% choosable language python %}} {{< install-python >}} {{% /choosable %}}
{{% choosable language go %}} {{< install-go >}} {{% /choosable %}}
{{% choosable language "csharp,fsharp,visualbasic" %}} {{< install-dotnet >}} {{% /choosable %}}
{{% choosable language "java" %}} {{< install-java >}} {{% /choosable %}}
{{% choosable language "yaml" %}} {{< install-yaml >}} {{% /choosable %}}
Configure Pulumi to access your AWS account
Pulumi requires cloud credentials to manage and provision resources. You must use an IAM user account that has Programmatic access with rights to deploy and manage resources handled through Pulumi.
If you have previously installed and configured the AWS CLI, Pulumi will respect and use your configuration settings.
If you do not have the AWS CLI installed or plan on using Pulumi from within a CI/CD pipeline, retrieve your access key ID and secret access key and then set the AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
environment variables on your workstation.
{{< chooser os "linux,macos,windows" >}} {{% choosable os linux %}}
$ export AWS_ACCESS_KEY_ID=<YOUR_ACCESS_KEY_ID>
$ export AWS_SECRET_ACCESS_KEY=<YOUR_SECRET_ACCESS_KEY>
{{% /choosable %}}
{{% choosable os macos %}}
$ export AWS_ACCESS_KEY_ID=<YOUR_ACCESS_KEY_ID>
$ export AWS_SECRET_ACCESS_KEY=<YOUR_SECRET_ACCESS_KEY>
{{% /choosable %}}
{{% choosable os windows %}}
> $env:AWS_ACCESS_KEY_ID = "<YOUR_ACCESS_KEY_ID>"
> $env:AWS_SECRET_ACCESS_KEY = "<YOUR_SECRET_ACCESS_KEY>"
{{% /choosable %}} {{< /chooser >}}
For additional information on setting and using AWS credentials, see AWS Setup.
Next, you'll create a new Pulumi project.
{{< get-started-stepper >}}