Translate

2010年3月30日火曜日

Google Wave ロボットを試そうとしてはまる

Google Waveで遊ぼう!

というサイトがあったので、
ためしてみようとオウム返しロボットを作ろうとしたら..

gsonパーサにかわっていたのはいいとして、
あれAbstractクラス名がかわっている..

あれ、メソッドがない..

あれ、エラーがでてうごかない..

バージョンもかわっている..


だだはまり。
現在格闘中。

2010年2月15日月曜日

Configuring Your Customer Gateway: Amazon VPC getting Started Guide p28

Configuring Your Customer Gateway
Customer Gatewayの設定

At this point, your integration team has created several VPC objects and in return received information that your network engineering group should now use to configure the customer gateway. They need:
この段階で、いくつかのVPC オブジェクトを作成し、ネットワーク技術グループにCustomer Gatewayを設定してもらえる情報を取得しています。ネットワーク技術グループは以下の情報を必要としています:


・The table of network information (see Determining Your Network Information (p. 22))
ネットワーク情報テーブル(Determining Your Network Information(p22)参照)
・The configuration information returned from the ec2-create-vpn-connection command
ec2-create-vpn-connectionコマンドが返却した設定情報

・The Amazon Virtual Private Cloud Network Administrator Guide
Amazon Virtual Private Cloud Network Administratorガイド(別のPDF)

The network engineering group must notify your team when the configuration is complete before you can continue. Once they notify you, the next task is to attach the VPN gateway to the VPC.
ネットワーク技術チームが設定を完了しないうちに、作業を継続することはできません。設定完了の確認後、VPN gatewayをVPCへ割り当てる次の作業を行ってください。




..えー、これでおわりかよ。
でも各ルータの設定を全部書くのは無理か..

Amazon VPCに対応するIPsecルータ

ここまで読むと、
少なくとも
・Cisco IOS 12.4以降のCiscoルータ
・JunOS9.5以降のJuniper J-Seriesルータ
はCustomer Gateway(Amazon VPCと接続できる企業側のルータ)として
つかえるってことか。

どちらかであれば、対応するルータ設定情報を出力してくれるコマンドがあるらしい。

そうでないルータ、
たとえば家庭用ルータのNATを切ってVPN設定するしかない。
freeswan入れたLinuxボックスとかもそうか。

特定のルータにあった設定をはかせるには
stylesheetでXSL書いて引数に渡せばいいのだろうが、
そんな面倒なことは..企業ならオペミス防ぐために使うか..

でも、なんでいまごろIPsecかね。
L3でVPNしたかったからかな。


家庭用ルータで簡単設定でAmazon VPCと
つなげられるのならご家庭のサーバをAmazonで使えるのにねえ..


そんな、家庭イヤ?!

How to Create a VPN Connection: Amazon VPC Getting Started Guide p 26

How to Create a VPN Connection
VPN接続作成方法

The last object to create is your Amazon VPC VPN connection, which is the secure communication path between your VPC and your data center.
最後にAmazon VPC VPN接続オブジェクトを作成します。
VPN接続は、VPCとデータセンタとのセキュアな接続パスを指します。


When creating a VPN connection, you provide the VPN gateway ID, the customer gateway ID, and the type of VPN connection (ipsec.1). The response includes a VPN connection ID and information your network engineering group needs in order to configure your customer gateway. In the request, you can specify one of the following formats for the configuration information:
VPN接続作成する際に、VPN gateway ID、Customer Gateway ID、VPN接続タイプ(ipsec.1)を指定します。返却情報として、VPN接続ID、Customer Gatewayを設定するときに必要な情報が含まれています。設定情報のための以下の型を特定することができます。


・generic: A generic format not specific to any particular vendor
generic:ベンダが特定できない場合の汎用的な型

・cisco-ios-isr: For Cisco Integrated Services routers running Cisco IOS 12.4 (or later) software
cisco-ios-isr:Cisco IOS 12.4以降が動作しているCisco Integrated Services製ルータ

・juniper-junos-j: For Juniper J-Series routers running JunOS 9.5 (or later) software
juniper-junos-j: JunOS 9.5以降が動作しているJuniper J-Seriesルータ

Choose whichever format matches your customer gateway. The response includes the configuration information in the specified format.
Customer Gatewayにあった型を選択してください。返却情報は、特定の型の設定情報を含みます。


You need to give the returned configuration information to your network engineering group, so we suggest you redirect the output to a file, or copy and paste the information from the screen to a file.
帰ってきた設定情報をネットワーク技術グループへ連携する必要があります、そのためリダイレクトをファイルへ保存する、もしくはコピーアンドペーストしてファイルへ保存することを勧めます。


Tip
You can call ec2-create-vpn-connection or ec2-describe-vpn-connections to get the configuration information again if you need to.

Tip
必要があれば、ec2-create-vpn-connection か ec2-describe-vpn-connectionsを実行して設定情報を再度入手することができます。

To create a VPN connection
VPN接続の作成

・Use the ec2-create-vpn-connection command, specifying the particular format you need for the configuration information (generic, cisco-ios-isr, or juniper-junos-j).
設定情報取得のために必要となる特定の型 (generic, cisco-ios-isr, juniper-junos-jのいずれか)を指定して、ec2-create-vpn-connectionを実行する。

PROMPT> ec2-create-vpn-connection -t ipsec.1 --customergateway

customer_gateway_id --vpn-gateway vpn_gateway_id --format format VPNCONNECTION vpn_connection_id pending ipsec.1 customer_gateway_id vpn_gateway_id

Long configuration information...
設定情報が続く...

The response includes the unique ID for the VPN connection (e.g., vpn-44a8938f), the VPN connection's current state (pending), and the configuration information.
返却情報には、VPN接続のユニークなID(e.g. vpn-44a8938f)や競って情報が含まれています。


In the above example we don't show the returned configuration information because it's too long to easily show here. For examples of the configuration information returned, go to the Amazon Virtual Private Cloud Network Administrator Guide. The guide contains an example of the different formats that are available, as well as customer gateway diagrams that correspond to the examples.
あまりにも長いので、返却情報の例をすべて見せることができません。
Amazon Virtual Private Cloud Network Administrator Guideを参照することで、設定情報をすべて参照することができます。


Important
重要

Make sure to give the Amazon Virtual Private Cloud Network Administrator Guide to your network engineering group along with the configuration information returned from the ec2-create-vpn-connection call.
ネットワーク技術グループへ、ec2-create-vpn-connectioの結果と一緒に、Amazon Virtual Private Cloud Network Administrator Guideも提供していることを確認してください。


You still need to wait until the VPN connection's state is available before moving forward. You can get its current state from its description. Note that you only receive the configuration information in the response if you include the --format option with the desired format (e.g., cisco-ios-isr, etc.).
VPN接続のステータスがavailableになってから次へ進んでください。
--format 型(e.g. cisco-ios-isほか)を指定することで、返却情報に指定の設定情報のみ取得できるます。


To get a VPN connection's description
VPN接続詳細情報の取得

・Use the ec2-describe-vpn-connections command.
ec2-describe-vpn-connectionを使う

PROMPT> ec2-describe-vpn-connections

VPNCONNECTION vpn_connection_id available ipsec.1 customer_gateway_id vpn_gateway_id

Tip
The ec2-create-vpn-connection and ec2-describe-vpn-connections commands take a --format option or a --stylesheet option, which causes the response to include configuration information formatted according to a particular format of your choice (e.g., cisco-ios-isr), or XSL stylesheet of your own design. The corresponding Amazon VPC API operations (CreateVpnConnection and DescribeVpnConnections) instead automatically return the configuration information in a native XML format specific to Amazon VPC. You should always use the commands (instead of the corresponding API calls) to get the configuration information returned to you in a friendly format. If you're using the command line tools, but want to see the native XML format, set the --format option to xml.


Tip
ec2-create-vpn-connection や ec2-describe-vpn-connectionsは--formatオプションや--stylesheetオプションをつけることができ、特定の型のみの設定情報の取得や、独自のXSLスタイルシートを指定することができます。
対応しているAmazon VPC APIオペレーション(CreateVpnConnection や DescribeVpnConnections)は代わりにAmazon VPCを特定するためのネイティブなXML形式で設定情報を自動的に返却する。(対応するAPIコールの代わりに)親しみやすいフォーマットの設定情報を取得するコマンドを使用すべきです。
もしコマンドラインツールを使用するのではなくネイティブなXMLフォーマットで見たいのであれば--format オプションにxmlを記述してください。


You've created your Amazon VPC objects. The next task is to configure the customer gateway with the information from ec2-create-vpn-connection.
Amazon VPCオブジェクトを作成できました。次に、ec2-create-vpn-connectionにて取得した情報をもとにCustomer Gatewayを設定します。

How to Create a VPN Gateway: Amazon VPC Getting Started Guide p26

How to Create a VPN Gateway
VPN Gateway作成方法

The next object to create is your Amazon VPC VPN gateway, which is the anchor of your VPN connection on the AWS side. When creating the VPN gateway, you provide the type (ipsec.1).
次にAmazon VPC VPN gatewayオブジェクトを作成します。
VPN gatewayはAWS側のVPN接続のアンカーとなります。
VPN gateway作成時に、タイプ(ipsec.1)を指定します。


To create a VPN gateway
VPN gatewayの作成

・Use the ec2-create-vpn-gateway command, and specify the type (ipsec.1).
タイプ(ipsec.1)を指定してec2-create-vpn-gateway コマンドを使う

PROMPT> ec2-create-vpn-gateway -t ipsec.1

VPNGATEWAY vpn_gateway_id pending ipsec.1 us-east-1a

The response includes the unique ID for the VPN gateway (e.g., vgw-8db04f81). Copy and paste that value somewhere because you will need it. The response also includes the current state of the VPN gateway (pending) and the VPN gateway's Availability Zone. You need to wait until the VPN gateway's state is available before moving forward. You can get its current state from its description.
返却情報には、VPN gatewayの一意なID(e.g. vgw-8db04f81)を含んでいます。
後で使用するためコピーアンドペーストして保管しておいてください。
ほかに、現在のステータス(pending)、VPN gatewayのAvailability Zoneなどが含まれています。
VPN gatewayのステータスがavailableになるまで、次の作業に進まないでください。
VPN gatewayのステータスは、詳細情報を参照することで取得できます。

To get a VPN gateway's description
VPN gateway詳細情報の取得

・Use the ec2-describe-vpn-gateways command.
ec2-describe-vpn-gatewaysコマンドを使用する

PROMPT> ec2-describe-vpn-gateways

VPNGATEWAY vpn_gateway_id available ipsec.1 us-east-1a

How to Create a Subnet: Amazon VPC Getting Started Guide p24

How to Create a Subnet
Subnet作成手順

The next objects to create are the Amazon VPC subnets in your VPC. If you add more than one subnet to a VPC, they are laid out in a star topology with a logical router in the middle.
次にAmazon VPC subnet を作成します。
VPCへ複数のsubnetを追加したいならば、中央に論理ルータを使った星形トポロジで配置されることになります。


When creating each subnet, you provide the VPC ID and the CIDR block for the subnet. The subnet's CIDR block can be the same as the VPC's CIDR (assuming you want only a single subnet in the VPC), or a subset of the VPC's CIDR. If you create more than one subnet in a VPC, the CIDR blocks of the subnets must not overlap.
各subnet作成時、VPC IDと、Subnet CIDRブロックを指定します。Subnet CIDRブロックはVPCのCIDR(VPC内で単一のSubnetのみ使用するのであれば)と同じ値にすることができます。複数のSubnetを作成するのであれば、CIDRブロックはオー場ラップさせるべきではありません。

Important
重要

AWS reserves both the first four and the last IP address in each subnet's CIDR block. They're not available for use.
AWAは、各Subnet CIDRブロックの最初の4つと最後のIPアドレスを予約しています。このためこれらのIPアドレスは使用することができません。


When you create a subnet, you receive the unique ID that Amazon VPC assigns to the subnet, the subnet's current state (pending or available), the number of available IP addresses in the subnet, and the subnet's Availability Zone.
Subnet作成時、Amazon VPCをSubnetに割り当てるためのユニークなID、Subnetの現在のステータス(pendingかavailable)、Subnet上の有効IPアドレス数、SubnetのAvailability Zoneをを受け取ります。


In this example, the VPC uses CIDR block 10.0.0.0/24, which provides 256 addresses. We'll break the VPC's CIDR block into two subnets, which means each will have 128 addresses. One subnet will have CIDR block 10.0.0.0/25 (for addresses 10.0.0.0 - 10.0.0.127) and the other will have CIDR block 10.0.0.128/25 (for addresses 10.0.0.128 - 10.0.0.255).
この例では、VPCはCIDRブロック10.0.0.0/24(256個のアドレス)を使用します。
これからこのVPCのCIDRブロックを2つのSubnet(各128個のアドレス)に分割します。
片方のSubnetはCIDRブロック10.0.0.0/25(10.0.0.128から10.0.0.255まで)の範囲とします。


Tip
There are many tools available to help you calculate subnet CIDR blocks. For a commonly used tool, go to http://www.subnet-calculator.com/cidr.php. Also, your network engineering group can help you determine the CIDR blocks to specify for your subnets.

Tip
多くののSubnet CIDRブロックを計算するための有用なツールがあります。
一般的に使用されているツールは、http://www.subnet-calculator.com/cidr.phpを参照してください。
ネットワーク技術グループが、Subnet CIDRブロック決定の支援を受けることもできます。


To create your subnets
Subnet作成

1. Use the ec2-create-subnet command, and provide the ID of the VPC and the CIDR block for the subnet.
ec2-create-subnetコマンドを使う。引数としてVPC IDとSubnet CIDRブロックを指定する。

PROMPT> ec2-create-subnet -c vpc_id -i 10.0.0.0/25

SUBNET subnet_id pending vpc_id 10.0.0.0/25 123 us-east-1a

The response includes the unique ID for the subnet (e.g., subnet-9d4a7b6c), the current state of the subnet (pending or available), the VPC ID, the subnet's CIDR block, the number of unused IP addresses in the subnet, and the subnet's Availability Zone.
返却情報には、subnetのユニークID(e.g. subbet-9d4a7b6c)、ステータス(pendingかavailable)、VPC ID、SubnetのCIDRブロック、Subnet内未使用IPアドレス数、SubnetのAvailability Zoneが含まれている。


2. Use the command again to create the second subnet.
もう一度コマンドを使って2番目のsubnetを作成。

PROMPT> ec2-create-subnet -c vpc_id -i 10.0.0.128/25

SUBNET subnet_id pending vpc_id 10.0.0.128/25 123 us-east-1a


You need to wait until each subnet's state is available before moving forward. You can get the current state of the subnets from their descriptions.
必ずステータスがavailableになってから次の作業を行ってください。
subnetの詳細情報から現在のステータスを参照することができます。


To get a subnet's description
subnet詳細情報の取得

・Use the ec2-describe-subnets command.
ec2-describe-subnetsコマンドを使用する。

PROMPT> ec2-describe-subnets

SUBNET subnet_id available vpc_id 10.0.0.0/25 123 us-east-1a

SUBNET other_subnet_id available vpc_id 10.0.0.128/25 123 useast-
1a

How to Create a VPC: Amazon VPC Getting Started Guide p23

How to Create a VPC
VPC作成手順

The first object to create is a VPC. When creating the VPC, you simply provide the set of IP addresses you want the VPC to cover. You specify this set of addresses in the form of a Classless Inter-Domain Routing (CIDR) block. For example, 10.0.0.0/24. For information about CIDR notation and what the "/24" means, go to the Wikipedia article about Classless Inter-Domain Routing. The minimum allowed
size of the block is a /28 netmask (16 IP addresses), and the maximum is a /16 netmask (65,536 IP addresses). For more information about things to consider when determining the size of your VPC, see VPC Sizing (p. 40).
まず最初にVPCを作成します。
VPC作成時、VPCでカバーしたいIPアドレス群を指定します。
IPアドレス群指定には、Classless Inter-Domain Routing(CIDR)ブロック形式で指定します(ex. 10.0.0.0/24)。
CIDR書式および"/24"の意味については、WikipediaのClassless Inter-Domain Routingの項を参照してください。
最小のブロックサイズは/28ネットマスク(16個のIPアドレス)です。また、最大ブロックサイズは/16ネットマスク(65,536個のIPアドレス)です。
VPCサイズ決定のための考慮点詳細は、VPC Sizing(p.40)を参照してください。

In this example, we'll create a VPC with CIDR range 10.0.0.0/24. The "/24" means that the VPC will have 256 IP addresses (10.0.0.0 - 10.0.0.255).
本ガイドの解説例示ではVPCをCIDRレンジ10.0.0.0/24で作成します。
"/24"は256個のIPアドレス(10.0.0.0から10.0.0.255まで)を作成できるVPCを作成することを意味しています。

The response includes the unique ID that Amazon VPC assigns to the VPC and the VPC's current state (pending or available).
VPCアサイン時のステータスを示すユニークIDを含め返却します。


To create a VPC
VPC作成

・Use the ec2-create-vpc command.
ec2-create-vpcコマンドを使用する

PROMPT> ec2-create-vpc 10.0.0.0/24

VPC pending 10.0.0.0/24 default

The response includes the unique ID for the VPC (which looks similar to vpc-1a2b3c4d). Copy and paste that value somewhere because you will need it. The response also includes the current state of the VPC (pending). Lastly, the default indicates that the VPC is using the default DHCP options (for more information, see Using DHCP Options (p. 40)).
VPCユニークID(vpc-1a2b3c4dのような表記)を含めて返却値が表示されます。

You need to wait until the VPC's state is available before moving forward. You can get its current state from its description.
次に進むまでにVPCのステータスがabailableになるまで待つ必要があります。


To get a VPC's description
VPC詳細取得

・Use the ec2-describe-vpcs command.
ec2-describe-vpcsコマンドを使用する

PROMPT> ec2-describe-vpcs

VPC available 10.0.0.0/24 default

Creating Amazon VPC Objects: Amazon VPC Getting Started Guide p23

Creating Amazon VPC Objects
Amazon VPCオブジェクトの作成

Topics
・How to Create a VPC (p. 23)
・How to Create a Subnet (p. 24)
・How to Create a Customer Gateway (p. 25)
・How to Create a VPN Gateway (p. 26)
・How to Create a VPN Connection (p. 26)

トピックス
・VPC作成手順(p.23)
・Subnet作成手順(p.24)
・Customer Gateway作成手順(p.25)
・VPN Gateway作成手順(p.26)
・VPN接続作成手順(p.26)


Your next task is to use the Amazon EC2 command line tools to call Amazon VPC API operations that create a VPC, subnets, customer gateway, VPN gateway, and VPN connection. You should have downloaded and set up the Amazon EC2 command line tools (for more information, see Setting Up the Tools (p. 18)).
次に、Amazon EC2コマンドラインツールを使ってAmazon VPC APIを呼び出し、VPC、Subnet、Customer Gateway、VPN Gateway、VPN接続を作成します。
本作業を行うには、Amazon EC2 コマンドラインツールをダウンロードし、セットアップを完了させていなくてはなりません(詳細はSetting Up the Tools(p18)を参照のこと)。

Determining Your Network Information: Amazon VPC Getting Started Guide p 22

Determining Your Network Information
ネットワーク情報の定義

The first task for your integration team is to determine the set of information in the following table. The table includes dummy values for some of the items. You can use the dummy values or determine real ones for the exercise. You must obtain real values for all the other items.
インテグレーションチームの最初のタスクは、以下の表にある情報の定義を行う事です。表のいくつかの項目はダミー値が格納されています。


Tip
You can print the table and fill in the values you plan to use in the column on the far right.
表を印刷して、右端の欄を計画時に使って値を埋めることができます。


Item
How Used
Comments
Your Value

項目
どう使われるか
コメント


VPC CIDR block
Used in an API call, and in customer gateway configuration
Dummy value you can use in the exercise:10.0.0.0/24
Value:
VPC CIDRブロック
APIコールで使用され、そしてGustomer Gateway 設定で使用される
練習でダミー値10.0.0.0/24が使用できる
実際の値:

Subnet #1 CIDR block (can be same as the VPC's CIDR block)
Used in an API call
Dummy value you can use in the exercise:10.0.0.0/25
Value:

Subnet #1 CIDRブロック
APIコールで使用される
練習でダミー値10.0.0.0/25が使用できる
実際の値:

Subnet #2 CIDR block (optional)
Used in an API call
Dummy value you can use in the exercise:10.0.0.128/25
Value:
Subnet #2 CIDRブロック
APIコールで使用される
練習でダミー値10.0.0.128/25が使用できる
実際の値:

Subnet #N CIDR block(optional)
Used in an API call
None
Value:
Subnet #N CIDRブロック
APIコールで使用される
なし
実際の値:

Type of customer gateway (e.g., Cisco, Juniper, or other)
Used in an API call to specify how to format the returned information that you will use to configure the customer gateway
For information about the specific versions of Cisco and Juniper routers that we've tested, go to the Amazon Virtual Private Cloud Network Administrator Guide.
Value:

Custom Gatewayのタイプ(e.g. Cisco、Juniper、その他)
かつてCustomer Gatewayを設定した返却情報をどうやってフォーマットするかを特定するためにAPIコールで使用される
テストするためのCiscoやJuniperルータの特定のバージョンについての情報については、Amazon Virtual Private Cloud Network Administrator Guideを参照のこと
実際の値:

Internet-routable IP address (static) of the customer gateway's external interface
Used in an API call, and in customer gateway configuration (it's referred to as YOUR_UPLINK_ADDRESS)
The value must be static and can't be behind a device performing network address translation(NAT).
Value:
Customer Gatewayの外部インターフェイスのインターネットルーティング可能な固定IPアドレス
APIコールで使用される、そしてCustomer Gateway設定内にて使用される(YOUR_UPLINK_ADDRESSと呼ばれる)
値は固定にすべき、そして裏でネットワークアドレス変換(NAT)動作させることはできない
実際の値:

Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the customer gateway
Used in an API call, and in customer gateway configuration (it's referred to as YOUR_BGP_ASN)
You can use an existing ASN assigned to your network. If you don't have one, you can use a private ASN (in the 64512?65534 range). For more information about ASNs, go to the Wikipedia article.
Value:
Custom GatewayのBorder Gateway Protocol (BGP) Autonomous System Number (ASN)
APIコールで使用され、Custom Gateway設定内で使用される(YOUR_BGP_ASNと呼ばれる)
ネットワークへ割り当てられた既存のASNを使うことができる、ASNに関する詳細はWikipediaを参照のこと
実際の値:


For help determining the appropriate size of your VPC, see VPC Sizing (p. 40).
VPCの適当なサイズを定義のヘルプとして、VPC Sizing (p. 40)を参照してください。


Once your team has determined the network information in the preceding table, you can move on to the next task, which is using the command line tools to make Amazon VPC API calls that create your Amazon VPC objects.
上記テーブルのネットワーク情報を決定したら、次の作業に移ることができます。次の作業は、コマンドラインツールを使って Amazon VPC APIコールを呼び出し、Amazon VPCオブジェクトを作成します。

2010年2月12日金曜日

現在のAmazon VPCの制約

Amazon VPCの現時点の制約は以下の通り。

今のところus-east-1しか使えないとは..



With the current implementation of Amazon VPC:
Amazon VPCの現在の実装では:

・You can have one VPC, one VPN gateway, one customer gateway, and one VPN connection per AWS account
1つのアカウントで1つのVPC、1つのVPN gateway、1つのCustomer Gateway、1つのVPN接続を保有できる

・You can assign one IP address range to your VPC
VPCには1つのIPアドレスレンジを割り当てることができる

・Once you create a VPC or subnet, you can't change its IP address range
VPCもしくはsubnetを1つ作成すると、IPアドレスレンジを変更することができない

・Your VPC and your VPN gateway must reside together in a single Availability Zone in the us-east-1 Region
VPCやVPN gatewayは、us-east-1リージョン(北バージニア)の単一Availability Zoneに必ず配置される

・When you launch an instance in a subnet, AWS automatically assigns the instance an IP address from the CIDR range the subnet covers; you can't choose the specific IP address to use with the instance
あるSubnet内にインスタンスを起動したとき。、AWSはsubnetがカバーするCIDRレンジから一つのIPアドレスが自動的にアサインされる;インスタンスを使っている特定のIP アドレスを選択することができない。

・Internet access from your VPC is through the VPN connection back through your own network; you can't send or receive Internet traffic directly from your VPC
VPCからのインターネットアクセスはVPN接続経由であなたのネットワークを通して行われる;VPCから直接インターネットへ接続することができない。

・Access from your VPC to other AWS services is through the VPN connection, then through your corporate network and its connection to the Internet

VPCからほかのAWSサービスへのアクセスはVPN接続を通して行われる、そのときあなたの企業ネットワーク、企業ネットワークへ接続しているインターネットをとおして行われる
・You can't use either broadcast or multicast within your VPC
VPC範囲内ではブロードキャスト、、マルチキャストは両方使用できない

・AWS does not perform network address translation (NAT) on Amazon EC2 instances within a VPC
AWSは、VPC内のAmazon EC2インスタンス上でネットワークアドレス変換(NAT)を実行することができない

・Reserved Instances (with their discounted rates) are available; however, there's currently no capacity guarantee for Reserved Instances in a VPC
すでに用意された(ディスカウントレートの)インスタンスは有効である;しかし、現時点ではVPC内の用意されたインスタンスの能力保証はない

・Amazon EC2 High-Memory Instances and Spot Instances do not work with a VPC
VPC利用時はAmazon EC2 ハイメモリインスタンスやスポットインスタンスは動作しない

・Amazon Elastic Block Store and Amazon CloudWatch are available with all your instances; however, other Amazon EC2 features are not available (Elastic IP Addresses, security groups, Elastic Load Balancing, and Auto Scaling)
Amazon Elastic Block Store や Amazon CloudWatch はすべてのインスタンスで有効;しかし、ほかのAmazon EC2フィーチャは有効ではない(Elastic IP Addresses、セキュリティグループ、Elastic Load Balancing、Auto Scaling)

・Amazon EBS-backed AMIs are not supported (including AMIs running Microsoft Windows Server 2008 and Microsoft SQL Server Standard 2008)
Amazon EBS-backed AMIはサポートされていない(MS Windows Server2008やMS SQL Server Standard2008が動作するAMIを含む)

・Amazon DevPay paid AMIs do not work with a VPC
Amazon DevPay支払いのAMIはVPNで動作しない

About the Region and Availability Zone: Amazon VPC Getting Started p.22

About the Region and Availability Zone
リージョンや有効ゾーンについて

Amazon VPC works only in the Amazon EC2 US-East (Northern Virginia) Region (us-east-1), with the us-east-1.ec2.amazonaws.com service endpoint. By default, the Amazon EC2 API command line tools default to that Region and endpoint. If you're an existing user of the command line tools and your tools are set up to use a different Region and endpoint, make sure to change them.
AmazonVPCはAmazon EC2 US-East (us-east-1、北バージニア)リージョンでしか動作しません(サービスエンドポイントはus-east-1.ec2.amazonaws.com)。デフォルトでは、Amazon EC2 コマンドラインツールはこのリージョンやエンドポイントが設定されています。もしコマンドラインツールをすでに使用しており、異なるリージョンやエンドポイントを使用している設定をした場合は変更してください。


To change the Region and endpoint
リージョンやエンドポイントの変更

1. View available Regions by entering the following:
以下の操作で、有効なリージョンやエンドポイントを照会する:

PROMPT> ec2-describe-regions
REGION us-east-1 us-east-1.ec2.amazonaws.com
REGION eu-west-1 eu-west-1.ec2.amazonaws.com


2. If you need to change the service endpoint on Linux and UNIX, set the EC2_URL environment variable as follows:
Linux/UNIX環境でサービスエンドポイントを変更したい場合は環境変数EC2_URLを以下のように変更する:

$ export EC2_URL=https://


3. If you need to change the service endpoint on Windows, set the EC2_URL environment variable as follows:
Windows環境でサービスエンドポイントを変更したい場合は環境変数EC2_URLを以下のように変更する:

C:\> set EC2_URL=https://

Your subnets, VPN gateway, and Amazon EC2 instances in the VPC must all reside together in one of the Availability Zones in the us-east-1 Region (us-east-1a, etc.). If you're not familiar with Availability Zones: each zone is a distinct location within a Region, engineered to be insulated from failures in other zones.

Subnet、VPN gateway、VPC内のAmazon EC2 インスタンスがすべてひとつのus-east-1 リージョンのAvailability Zoneに備わっていなくてはなりません。もしあなたがAvailability Zoneについてよく知らない:ゾーンとは、1つのリージョン内に一意のローケーションがふられます、ほかのゾーンの障害から分離するために設計されています。


You can optionally specify an Availability Zone when creating subnets, when creating your VPN gateway, and when launching your instances. However, you don't need to because Amazon VPC can automatically determine an Availability Zone to use for the objects and instances.

subnet作成時、VPN gateway作成時、インスタンスの起動時にAvailability Zoneをオプションとして指定することができます。
しかし、Amazon VPCはオブジェクトやインスタンスを使用する際にAvailability Zoneを自動的に定義するため、指定する必要はありません。


Note that if you choose to specify an Availability Zone for the objects and instances, that zone might not be available (in which case Amazon VPC returns an error).
あるAvailability Zoneをオブジェクトやインスタンスに対して選択するならば、有効にならない(Amazon VPCはエラーを返します)ことに注意してください。

Google Colab相当の環境をローカルPC上のDocker Composeで実現する

 Docker Composeの有料版に、お金を払いたくない ^H^Hが使えない ため古いゲーミングPC(GeForce3080)にDocker Composeを入れてその上のコンテナでGoogle Colab相当のノート操作ができないかためしてみた: コンテナイメージとして a...