Update existing readmes and add two new ones. Fixes
MODIFY
aws-js-webserver-component/README.md
aws-js-webserver-component/README.md
Deploy an EC2 instances using `@pulumi/aws`, using a common module for creating an instance. A function `createInstance` is defined in [webserver.js](webserver.js) which is then used in main program.
-For a detailed walkthrough, see [Programming AWS](https://docs.pulumi.com/quickstart/aws.html) in the Pulumi documentation.
+For a walkthrough of the main example, see [Part 1 of the quickstart](https://docs.pulumi.com/quickstart/part1.html) in the Pulumi documentation
\ No newline at end of file

MODIFY
aws-js-webserver/README.md
aws-js-webserver/README.md
-# AWS web server example
+# AWS web server example in JavaScript
+
+Deploy an EC2 instance using `@pulumi/aws`. This example shows how to use multiple infrastructure resources in one program. For a detailed walkthrough, see [Part 1 of the quickstart](https://docs.pulumi.com/quickstart/part1.html) in the Pulumi documentation.
-Deploy an EC2 instance using `@pulumi/aws`. This example shows how to use multiple infrastructure resources in one program. For a detailed walkthrough, see [Programming AWS](https://docs.pulumi.com/quickstart/aws.html) in the Pulumi documentation.

ADD
aws-py-webserver/requirements.txt
+pulumi>=0.11.0

MODIFY
cloud-ts-url-shortener-cache/Pulumi.yaml
cloud-ts-url-shortener-cache/Pulumi.yaml
-name: url-shortener
+name: url-shortener-cache
runtime: nodejs
-description: URL shortener sample
+description: URL shortener with cache

ADD
cloud-ts-url-shortener-cache/README.md
+# Serverless URL Shortener with Redis Cache
+
+A sample URL shortener SPA that uses the high-level `cloud.Table` and `cloud.HttpEndpoint` components. The example shows to combine serverless functions along with containers.
+
+## Deploying and running the program
+
+1. Initialize a Pulumi repository with pulumi init, using your GitHub username. (Note: this step will be removed in the future.)
+
+ ```
+ $ pulumi init --owner githubUsername
+ ```
+
+1. Create a new stack:
+
+ ```
+ $ pulumi stack init testing
+ ```
+
+1. Set the provider and region:
+
+ ```
+ $ pulumi config set cloud:provider aws
+ $ pulumi config set aws:region us-west-2
+ ```
+
+1. Set a value for the Redis password. The value can be an encrypted secret, specified with the `--secret` flag. If this flag is not provided, the value will be saved as plaintext in `Pulumi.testing.yaml` (since `testing` is the current stack name).
+
+ ```
+ $ pulumi config set --secret redisPassword S3cr37Password
+ Enter your passphrase to protect config/secrets:
+ Re-enter your passphrase to confirm:
+ ```
+
+1. Restore NPM modules via `npm install`.
+
+1. Compile the program via `tsc` or `npm run build`.
+
+1. Preview the program deployment:
+
+
+
+1. Perform the deployment:
+
+1. To view the API endpoint, use the `stack output` command:
+
+ ```
+ $ pulumi stack output endpointUrl
+ https://gs8t66u634.execute-api.us-east-1.amazonaws.com/stage/
+ ```
+
+1. Open this page in a browser and you'll see a single page app for creating and viewing short URLs.
+
+

MODIFY
cloud-ts-url-shortener-cache/config.ts
cloud-ts-url-shortener-cache/config.ts
import * as pulumi from "@pulumi/pulumi";
-let config = new pulumi.Config("url-shortener:config");
+let config = new pulumi.Config("url-shortener-cache");
+// Get the Redis password from config
export let redisPassword = config.require("redisPassword");

MODIFY
cloud-ts-url-shortener-cache/www/favicon.png
cloud-ts-url-shortener-cache/www/favicon.png
Binary files a/cloud-ts-url-shortener-cache/www/favicon.png and b/cloud-ts-url-shortener-cache/www/favicon.png differ

MODIFY
cloud-ts-url-shortener/README.md
cloud-ts-url-shortener/README.md
@@ -4,7 +4,11 @@ A sample URL shortener SPA that uses the high-level `cloud.Table` and `cloud.Htt
## Deploying and running the program
-1. Run `pulumi init`. (Note: this command will not be required in a future SDK release.)
+1. Initialize a Pulumi repository with pulumi init, using your GitHub username. (Note: this step will be removed in the future.)
+
+ ```
+ $ pulumi init --owner githubUsername
+ ```
1. Create a new stack:

MODIFY
cloud-ts-url-shortener/www/favicon.png
cloud-ts-url-shortener/www/favicon.png
Binary files a/cloud-ts-url-shortener/www/favicon.png and b/cloud-ts-url-shortener/www/favicon.png differ

MODIFY
cloud-ts-voting-app/README.md
cloud-ts-voting-app/README.md
@@ -42,8 +42,6 @@ To use this example, make sure [Docker](https://docs.docker.com/engine/installat
```
$ pulumi config set --secret redisPassword S3cr37Password
- Enter your passphrase to protect config/secrets:
- Re-enter your passphrase to confirm:
```
### Compile the TypeScript program

Update existing readmes and add two new ones. Fixes #34