|
1 | 1 | --- |
2 | | -title: Pulumi + AWS re:Invent 2024 |
3 | | -meta_desc: "Visit Pulumi at booth 370 to book 1:1s, join workshops, and transform your cloud strategy. AWS re:Invent 2024 | December 2–6, 2024" |
4 | | -meta_image: /images/reinvent/reinvent-meta-24.png |
| 2 | +title: Pulumi at AWS re:Invent |
| 3 | +meta_desc: "re:Invent is better with Pulumi. Stop by booth 1127 for AI-powered AWS demos, expert tips, and exclusive swag before it’s gone." |
| 4 | +meta_image: /images/reinvent/reinvent-meta-25.png |
5 | 5 | type: page |
6 | 6 | layout: reinvent |
7 | 7 | aliases: |
8 | 8 | - aws-reinvent-2021 |
9 | 9 |
|
10 | | -exhibition_data: |
11 | | - name: "AWS re:Invent 2024" |
12 | | - description: "Visit Pulumi at booth #370 to book 1:1s, join workshops, and transform your cloud strategy." |
13 | | - start_date: "2024-12-02" |
14 | | - end_date: "2024-12-06" |
15 | | - location: |
16 | | - name: "The Venetian Convention and Expo Center" |
17 | | - address: |
18 | | - street: "3355 S Las Vegas Blvd" |
19 | | - locality: "Las Vegas" |
20 | | - region: "NV" |
21 | | - postal_code: "89109" |
22 | | - country: "US" |
23 | | - organizer: |
24 | | - name: "Amazon Web Services" |
25 | | - url: https://reinvent.awsevents.com/ |
26 | | - booth: "370" |
27 | | - |
28 | | -awsx: |
29 | | - yaml: | |
30 | | - name: aws-eks |
31 | | - runtime: yaml |
32 | | - description: An EKS cluster |
33 | | - resources: |
34 | | - cluster: |
35 | | - type: eks:Cluster |
36 | | - properties: |
37 | | - instanceType: "t2.medium" |
38 | | - desiredCapacity: 2 |
39 | | - minSize: 1 |
40 | | - maxSize: 2 |
41 | | - outputs: |
42 | | - kubeconfig: ${cluster.kubeconfig} |
43 | | - java: | |
44 | | - package com.pulumi.example.eks; |
45 | | -
|
46 | | - import com.pulumi.Context; |
47 | | - import com.pulumi.Exports; |
48 | | - import com.pulumi.Pulumi; |
49 | | - import com.pulumi.core.Output; |
50 | | - import com.pulumi.eks.Cluster; |
51 | | - import com.pulumi.eks.ClusterArgs; |
52 | | -
|
53 | | - import java.util.stream.Collectors; |
54 | | -
|
55 | | - public class App { |
56 | | - public static void main(String[] args) { |
57 | | - Pulumi.run(App::stack); |
58 | | - } |
59 | | -
|
60 | | - private static Exports stack(Context ctx) { |
61 | | - var cluster = new Cluster("my-cluster", ClusterArgs.builder() |
62 | | - .instanceType("t2.micro") |
63 | | - .desiredCapacity(2) |
64 | | - .minSize(1) |
65 | | - .maxSize(2) |
66 | | - .build()); |
67 | | -
|
68 | | - ctx.export("kubeconfig", cluster.kubeconfig()); |
69 | | - return ctx.exports(); |
70 | | - } |
71 | | - } |
72 | | - csharp: | |
73 | | - using System; |
74 | | - using System.Threading.Tasks; |
75 | | - using Pulumi; |
76 | | - using Pulumi.Eks.Cluster; |
77 | | -
|
78 | | - class EksStack : Stack |
79 | | - { |
80 | | - public EksStack() |
81 | | - { |
82 | | - // Create an EKS cluster. |
83 | | - var cluster = new Cluster("cluster", new ClusterArgs |
84 | | - { |
85 | | - InstanceType = "t2.medium", |
86 | | - DesiredCapacity = 2, |
87 | | - MinSize = 1, |
88 | | - MaxSize = 2, |
89 | | - }); |
90 | | -
|
91 | | - // Export the cluster's kubeconfig. |
92 | | - this.Kubeconfig = cluster.Kubeconfig; |
93 | | - } |
94 | | -
|
95 | | - [Output("kubeconfig")] |
96 | | - public Output<string> Kubeconfig { get; set; } |
97 | | - } |
98 | | -
|
99 | | - class Program |
100 | | - { |
101 | | - static Task<int> Main(string[] args) => Deployment.RunAsync<EksStack>(); |
102 | | - } |
103 | | - go: | |
104 | | - package main |
105 | | -
|
106 | | - import ( |
107 | | - "github.com/pulumi/pulumi-eks/sdk/go/eks/cluster" |
108 | | - "github.com/pulumi/pulumi/sdk/v2/go/pulumi" |
109 | | - ) |
110 | | -
|
111 | | - func main() { |
112 | | - pulumi.Run(func(ctx *pulumi.Context) error { |
113 | | - // Create an EKS cluster. |
114 | | - cluster, err := cluster.NewCluster(ctx, "cluster", |
115 | | - cluster.ClusterArgs{ |
116 | | - InstanceType: pulumi.String("t2.medium"), |
117 | | - DesiredCapacity: pulumi.Int(2), |
118 | | - MinSize: pulumi.Int(1), |
119 | | - MaxSize: pulumi.Int(2), |
120 | | - }, |
121 | | - ) |
122 | | - if err != nil { |
123 | | - return err |
124 | | - } |
125 | | -
|
126 | | - // Export the cluster's kubeconfig. |
127 | | - ctx.Export("kubeconfig", cluster.Kubeconfig) |
128 | | -
|
129 | | - return nil |
130 | | - }) |
131 | | - } |
132 | | - py: | |
133 | | - import pulumi |
134 | | - import pulumi_eks as eks |
135 | | -
|
136 | | - # Create an EKS cluster. |
137 | | - cluster = eks.Cluster( |
138 | | - "cluster", |
139 | | - instance_type="t2.medium", |
140 | | - desired_capacity=2, |
141 | | - min_size=1, |
142 | | - max_size=2, |
143 | | - ) |
144 | | -
|
145 | | - # Export the cluster's kubeconfig. |
146 | | - pulumi.export("kubeconfig", cluster.kubeconfig) |
147 | | - ts: | |
148 | | - import * as eks from "@pulumi/eks"; |
149 | | -
|
150 | | - // Create an EKS cluster. |
151 | | - const cluster = new eks.Cluster("cluster", { |
152 | | - instanceType: "t2.medium", |
153 | | - desiredCapacity: 2, |
154 | | - minSize: 1, |
155 | | - maxSize: 2, |
156 | | - }); |
157 | | -
|
158 | | - // Export the cluster's kubeconfig. |
159 | | - export const kubeconfig = cluster.kubeconfig; |
160 | | -
|
161 | 10 | --- |
0 commit comments