From 03bf7abaffacbe0e719de72d472c98e111386946 Mon Sep 17 00:00:00 2001 From: Miguel Landaeta Date: Tue, 14 Apr 2015 11:09:35 -0300 Subject: [PATCH] Update README.md Remove dummy credentials and public IP address by more obvious settings to clarify the examples. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c1034100c..6c4e6aa99 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ Since it's a bad practice to have your credentials in source code, you should lo ``` default: - aws_access_key_id: AKIAKFA8FKVJBJS8W3JG - aws_secret_access_key: k5OVuSAkh4dGeEiKHRC2ke0fSpX/5qOKGaoV+HBm + aws_access_key_id: + aws_secret_access_key: ``` ### Connecting to EC2 service @@ -64,7 +64,7 @@ response = ec2.run_instances( instance_id = response.body["instancesSet"].first["instanceId"] # => "i-02db5af4" instance = ec2.servers.get(instance_id) instance.wait_for { ready? } -puts instance.public_ip_address # => "54.200.201.120" +puts instance.public_ip_address # => "356.300.501.20" ``` ### Terminate an EC2 instance: