From 32c02931eb865e23c7558b520b70172d7874d538 Mon Sep 17 00:00:00 2001 From: Charles Plessy Date: Tue, 2 Aug 2016 06:36:00 +0900 Subject: [PATCH] Draft. --- .../debi\303\242neries/awscli-et-vpc.en.po" | 69 ++++++++++++++++--- 1 file changed, 58 insertions(+), 11 deletions(-) diff --git "a/Debian/debi\303\242neries/awscli-et-vpc.en.po" "b/Debian/debi\303\242neries/awscli-et-vpc.en.po" index 2c5d4647..91d63726 100644 --- "a/Debian/debi\303\242neries/awscli-et-vpc.en.po" +++ "b/Debian/debi\303\242neries/awscli-et-vpc.en.po" @@ -3,38 +3,38 @@ # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: -\n" "POT-Creation-Date: 2016-08-01 21:17+0000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" +"PO-Revision-Date: 2016-08-02 06:35+0900\n" +"Last-Translator: Charles Plessy \n" +"Language-Team: LANGUAGE\n" +"Language: en\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.6.10\n" #. type: Plain text #, no-wrap msgid "[[!meta date=\"Fri, 29 Jul 2016 09:05:19 +0900\"]]\n" -msgstr "" +msgstr "[[!meta date=\"Fri, 29 Jul 2016 09:05:19 +0900\"]]\n" #. type: Plain text #, no-wrap msgid "[[!meta updated=\"Fri, 29 Jul 2016 09:05:19 +0900\"]]\n" -msgstr "" +msgstr "[[!meta updated=\"Fri, 29 Jul 2016 09:05:19 +0900\"]]\n" #. type: Plain text #, no-wrap msgid "[[!tag Debian]]\n" -msgstr "" +msgstr "[[!tag Debian]]\n" #. type: Plain text #, no-wrap msgid "[[!meta title=\"Nuage Amazon: remise à niveau.\"]]\n" -msgstr "" +msgstr "[[!meta title=\"Amazon cloud: refreshing my skills.\"]]\n" #. type: Plain text msgid "" @@ -50,6 +50,15 @@ msgid "" "compliqué du tout. C'est certainement pour ça que je n'avais pas trouvé de " "tutoriel à ce sujet." msgstr "" +"For a few years I did not attempt any serious task on the Amazon cloud. It " +"took me a bit of time to get back my automatisms and adapt myself to the " +"changes. In particular, the cheapest instances, `t2.nano`, are only " +"accessible via virtual private clouds (VPC), and it was a bit difficult for " +"me to find how to create a simple one. Perhaps this is because all AWS " +"accounts created after March 18, 2013, automatically have a default VPC, and " +"everybody else who needed their own simple VPC have created it a long time " +"ago already. In the end, this was not complicated at all. This is probably " +"why I could not find a tutorial." #. type: Plain text msgid "" @@ -57,6 +66,9 @@ msgid "" "en temps, la plage IP privée importe peu. Les VPCs par défaut utilisent " "`172.31.0.0/16`; alors faisons de même." msgstr "" +"In brief, one needs first to create a VPC. If it is just for spawning an " +"instance from time to time, the IP range does not matter much. Default VPCs " +"are using `172.31.0.0/16`, so let's do the same." #. type: Plain text #, no-wrap @@ -64,6 +76,8 @@ msgid "" " CIDR_BLOCK=172.31.0.0/16\n" " aws ec2 create-vpc --cidr-block $CIDR_BLOCK\n" msgstr "" +" CIDR_BLOCK=172.31.0.0/16\n" +" aws ec2 create-vpc --cidr-block $CIDR_BLOCK\n" #. type: Plain text msgid "" @@ -72,11 +86,15 @@ msgid "" "commande créant quelque chose. On peut retrouver l'identifiant avec la " "commande `aws ec2 describe-vpcs`." msgstr "" +"In the command's output, there is the VPC's identifier, that I paste by hand " +"in a variable called `VPC`. The same pattern will be repeated for each " +"command creating something. One can also find the VPC's identifier with the " +"command `aws ec2 describe-vpcs`." #. type: Plain text #, no-wrap msgid " VPC=vpc-XXXXXXXX # Et ainsi de suite\n" -msgstr "" +msgstr " VPC=vpc-XXXXXXXX\n" #. type: Plain text msgid "" @@ -86,6 +104,11 @@ msgid "" "IP publique comme dans les VPCs par défaut et l'ancien comportement du nuage " "sans VPC, il faut activer l'attribut `MapPublicIpOnLaunch`." msgstr "" +"Then, create a subnet. Again, no need for complications, in our simple case " +"one can give the full IP range. I cut and paste the returned identifier in " +"the variable `SUBNET`. In order that the instances receive a public IP " +"address like in default VPCs and like in the usual behaviour of the VPC-less " +"Cloud, one needs to set the attribute `MapPublicIpOnLaunch`." #. type: Plain text #, no-wrap @@ -94,12 +117,17 @@ msgid "" " SUBNET=subnet-XXXXXXXX\n" " aws ec2 modify-subnet-attribute --subnet-id $SUBNET --map-public-ip-on-launch \n" msgstr "" +" aws ec2 create-subnet --vpc-id $VPC --cidr-block $CIDR_BLOCK\n" +" SUBNET=subnet-XXXXXXXX\n" +" aws ec2 modify-subnet-attribute --subnet-id $SUBNET --map-public-ip-on-launch \n" #. type: Plain text msgid "" "Ensuite, créer une passerelle (je récupère l'identifiant dans `GATEWAY`) et " "l'attacher au VPC." msgstr "" +"Then, create a gateway (paste the identifier in `GATEWAY`) and attach it to " +"the VPC." #. type: Plain text #, no-wrap @@ -108,6 +136,9 @@ msgid "" " GATEWAY=igw-XXXXXXXX\n" " aws ec2 attach-internet-gateway --internet-gateway-id $GATEWAY --vpc-id $VPC\n" msgstr "" +" aws ec2 create-internet-gateway\n" +" GATEWAY=igw-XXXXXXXX\n" +" aws ec2 attach-internet-gateway --internet-gateway-id $GATEWAY --vpc-id $VPC\n" #. type: Plain text msgid "" @@ -115,6 +146,9 @@ msgid "" "identifiant via la commande `describe-route-tables`, pour créer ensuite une " "route par défaut vers la passerelle." msgstr "" +"A routing table was created automatically, and one can find its identifier " +"via the command `describe-route-tables`. Then, create a default route to " +"the gateway." #. type: Plain text #, no-wrap @@ -123,12 +157,17 @@ msgid "" " ROUTETABLE=rtb-XXXXXXXX\n" " aws ec2 create-route --route-table-id $ROUTETABLE --destination-cidr-block 0.0.0.0/0 --gateway-id $GATEWAY\n" msgstr "" +" aws ec2 describe-route-tables\n" +" ROUTETABLE=rtb-XXXXXXXX\n" +" aws ec2 create-route --route-table-id $ROUTETABLE --destination-cidr-block 0.0.0.0/0 --gateway-id $GATEWAY\n" #. type: Plain text msgid "" "Bien sûr, si on n'ouvre pas le trafic, on ne pourra pas contacter la " "machine... Ici, j'ouvre le port 22 pour un accès SSH." msgstr "" +"Of course, if one does not open the traffic, no instance can be contacted " +"from outside... Here I open port 22 for SSH." #. type: Plain text #, no-wrap @@ -137,6 +176,9 @@ msgid "" " SECURITY_GROUP=sg-XXXXXXXX\n" " aws ec2 authorize-security-group-ingress --group-id $SECURITY_GROUP --protocol tcp --port 22 --cidr 0.0.0.0/0\n" msgstr "" +" aws ec2 describe-security-groups\n" +" SECURITY_GROUP=sg-XXXXXXXX\n" +" aws ec2 authorize-security-group-ingress --group-id $SECURITY_GROUP --protocol tcp --port 22 --cidr 0.0.0.0/0\n" #. type: Plain text msgid "" @@ -144,9 +186,14 @@ msgid "" "\"outils libres\"]] pour la ligne de commande, qui sont plus complets qu'[[!" "debpkg euca2ools]]." msgstr "" +"Other novelty, now Amazon distributes some [[!debpkg aws desc=\"Free tools" +"\"]] for the command line, that are more comprehensive than [[!debpkg " +"euca2ools]]." #. type: Plain text msgid "" "Prochaine étape, recommencer les tests utilisant l'[[installeur Debian|" "installeur-debian-dans-le-nuage-amazon]] dans le Nuage." msgstr "" +"Next, I will try again the [[Debian Installer|installeur-debian-dans-le-" +"nuage-amazon]] in the Cloud." -- 2.47.3