CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 28 Aug 2025 02:51:36 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100520015928
location: https://web.archive.org/web/20100520015928/https://github.com/adamhjk/ec2_mysql/
server-timing: captures_list;dur=15.914043, exclusion.robots;dur=0.034096, exclusion.robots.policy;dur=0.016784, esindex;dur=0.017270, cdx.remote;dur=27.160000, LoadShardBlock;dur=810.816124, PetaboxLoader3.datanode;dur=698.182067
x-app-server: wwwb-app218
x-ts: 302
x-tr: 927
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app218; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 28 Aug 2025 02:51:36 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Thu, 20 May 2010 01:59:28 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "76c6364823777a191ba8e860ee8702be"
x-archive-orig-x-runtime: 193ms
x-archive-orig-content-length: 21659
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 20 May 2010 01:59:28 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 30 Apr 2009 05:08:34 GMT", ; rel="prev memento"; datetime="Mon, 12 Oct 2009 07:43:19 GMT", ; rel="memento"; datetime="Thu, 20 May 2010 01:59:28 GMT", ; rel="next memento"; datetime="Thu, 20 Oct 2011 12:19:16 GMT", ; rel="last memento"; datetime="Mon, 17 Mar 2025 06:06:24 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_15_20100520003433_crawl102-c/52_15_20100520015902_crawl101.arc.gz
server-timing: captures_list;dur=0.662448, exclusion.robots;dur=0.027295, exclusion.robots.policy;dur=0.014128, esindex;dur=0.018692, cdx.remote;dur=30.139541, LoadShardBlock;dur=57.438135, PetaboxLoader3.datanode;dur=111.426324, load_resource;dur=102.053087, PetaboxLoader3.resolve;dur=41.333752
x-app-server: wwwb-app218
x-ts: 200
x-tr: 252
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
adamhjk's ec2_mysql at master - GitHub
adamhjk / ec2_mysql
- Source
- Commits
- Network (4)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
Sending Request…
EC2 MySQL Master->Slave management with Elastic Block Devices made easy — Read more
name | age | message | |
---|---|---|---|
![]() |
History.txt | Loading commit data... ![]() |
|
![]() |
LICENSE | ||
![]() |
Manifest.txt | ||
![]() |
NOTICE | ||
![]() |
README.txt | ||
![]() |
Rakefile | ||
![]() |
bin/ | ||
![]() |
lib/ | ||
![]() |
test/ |
README.txt
= Ec2Mysql == DESCRIPTION: Simplifies setting up new MySQL slaves using EC2 with Elastic Block Devices == FEATURES/PROBLEMS: * Snapshot a master with slave creation information saved as JSON * Keep N backups * Create a slave from a given snapshot (or the latest, given a Volume ID) * Deal with both regular and LVM block devices == SYNOPSIS: It's a two step process. Run the backup on the Master, then run the build on your Slave. === Master Backup: On your master EC2 Node: $ sudo ./ec2_mysql -a 'AWS_ID' -s 'AWS_SECRET_KEY' -p 'MYSQL_ROOT' master === Slave Creation: On your slave EC2 Node: $ sudo ./ec2_mysql -a 'AWS_ID' -s 'AWS_SECRET_KEY' -U 'MYSQL_REPL_USER' -P 'MYSQL_REPL_PASS' -p 'MYSQL_ROOT' -h 'MYSQL_MASTER_IP_ADDRESS' -v 'MYSQL_MASTER_EBS_VOLUME_ID' slave == REQUIREMENTS: * DBI * DBD::Mysql * Right AWS * JSON == INSTALL: Haven't made a gem yet or any packages. :) == BONUS POINTS: Use Capistrano to dynamically build 100 slaves at the same time. Watch magic scaling. Celebrate. == LICENSE: See the LICENSE file, but: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License