##Connection Timeout または No route to host
###ヘルスチェックステータス1/2
OSレベルでの問題が起きています。
→ インスタンスをRebootしてみましょう。
###ヘルスチェックステータスが0/2
物理ホスト障害の可能性があります。
→ インスタンスをStop/Startしてみましょう(別の物理ホストに移動させる事ができます)
※ Stoppingの状態で停止しない場合には、force stopを行います(Management Consoleから2回目のstop/ec2-stop-instances --force i-xxxxxxxx)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
<xsl:output method="text" encoding="UTF-8"/> | |
<xsl:template match="/"> | |
set vpn ipsec ike-group AWS lifetime '28800' | |
set vpn ipsec ike-group AWS proposal 1 dh-group '2' | |
set vpn ipsec ike-group AWS proposal 1 encryption 'aes128' | |
set vpn ipsec ike-group AWS proposal 1 hash 'sha1' | |
set vpn ipsec ike-group AWS dead-peer-detection action 'restart' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM j3tm0t0/amzn | |
RUN yum -y install httpd | |
RUN echo hoge > /var/www/html/index.html | |
CMD ["/usr/sbin/httpd","-D","FOREGROUND"] | |
EXPOSE 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ "NameSpace":"VPC","MetricName":"NetworkOut","Dimension":{"TunnelName":"vpn-18943e19-1"}, "host":"192.168.1.254", "community":"public", "mib":".1.3.6.1.2.1.2.2.1.10.549" } , | |
{ "NameSpace":"VPC","MetricName":"NetworkIn","Dimension":{"TunnelName":"vpn-18943e19-1"}, "host":"192.168.1.254", "community":"public", "mib":".1.3.6.1.2.1.2.2.1.16.549" } , | |
{ "NameSpace":"VPC","MetricName":"NetworkOut","Dimension":{"TunnelName":"vpn-18943e19-2"}, "host":"192.168.1.254", "community":"public", "mib":".1.3.6.1.2.1.2.2.1.10.550" } , | |
{ "NameSpace":"VPC","MetricName":"NetworkIn","Dimension":{"TunnelName":"vpn-18943e19-2"}, "host":"192.168.1.254", "community":"public", "mib":".1.3.6.1.2.1.2.2.1.16.550" } | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ANN | |
59 0 * * 5 sh ~/bin/rec_radiko.sh LFR 122 ~/mp3/"ナインティナインのオールナイトニッポン " | |
59 0 * * 7 sh ~/bin/rec_radiko.sh LFR 122 ~/mp3/"オードリーのオールナイトニッポン " | |
# ANN0 | |
59 2 * * 5 sh ~/bin/rec_radiko.sh LFR 122 ~/mp3/"Hi-Hiのオールナイトニッポン0 " | |
# JUNK | |
59 0 * * 2 sh ~/bin/rec_radiko.sh TBS 122 ~/mp3/"JUNK 伊集院光・深夜の馬鹿力 " | |
59 0 * * 3 sh ~/bin/rec_radiko.sh TBS 122 ~/mp3/"JUNK 爆笑問題カーボーイ " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* send_multiple_sensor_data_with_soracom.ino | |
* Multiple sensor value send to Cloud via Unified Endpoint of SORACOM | |
* | |
* Copyright (c) 2020 SORACOM, INC. | |
* This software is released under the MIT License. | |
* http://opensource.org/licenses/mit-license.php | |
*/ | |
#define CONSOLE Serial |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
IPSEC_SECRET=SECRET | |
VPN_USERNAME=vpnusername | |
VPN_PASSWORD=vpnpassword | |
LOCAL_ADDRESS=`curl -s http://169.254.169.254/latest/meta-data/local-ipv4` | |
# for radiko.jp etc... | |
# curl -s http://169.254.169.254/latest/meta-data/public-ipv4 | grep ^175\. && echo OK || shutdown -h now |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# creating security groups | |
ec2-create-group 'AWS-OpsWorks-Web-Server' -d 'AWS OpsWorks Web server - do not change or delete' | |
ec2-create-group 'AWS-OpsWorks-Default-Server' -d 'AWS OpsWorks Default server - do not change or delete' | |
ec2-create-group 'AWS-OpsWorks-Blank-Server' -d 'AWS OpsWorks blank server - do not change or delete' | |
ec2-create-group 'AWS-OpsWorks-LB-Server' -d 'AWS OpsWorks load balancer - do not change or delete' | |
ec2-create-group 'AWS-OpsWorks-PHP-App-Server' -d 'AWS OpsWorks PHP-App server - do not change or delete' | |
ec2-create-group 'AWS-OpsWorks-DB-Master-Server' -d 'AWS OpsWorks database master server - do not change or delete' | |
ec2-create-group 'AWS-OpsWorks-Memcached-Server' -d 'AWS OpsWorks Memcached server - do not change or delete' | |
ec2-create-group 'AWS-OpsWorks-Monitoring-Master-Server' -d 'AWS OpsWorks Monitoring Ganglia server - do not change or delete' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name ShowLocaltimeInCWMC | |
// @namespace j3tm0t0.gmail.com | |
// @description Show Localtime in CloudWatch Management Console | |
// @include https://console.aws.amazon.com/cloudwatch/home* | |
// @version 1.1 | |
// ==/UserScript== | |
$(document).ready(function(){ | |
var f=function() | |
{ |
NewerOlder