Tag Archives: amazon
I had a lot of problems setting up a cPanel server on Amazon EC2. On my first attempt I used a CentOS image from the AWS marketplace but using one of these images has a very bad side effect of not being able to resize, clone, and/or mount the root file system to another instance ( think about the issues with data recovery or fixing an un-bootable ec2 instance – yuck ) – this is what dgFactor is referring to in his comment My next attempt I had launched the instance but after it was launched cPanel would not install, giving errors similar to: [20130131.123334] Setting up Install Process [20130131.123334] No package wget available. [20130131.123335] Nothing to do [20130131.123339] E Sysup: Needed system RPMs were not installed: wget [20130131.123339] ***** FATAL: Cannot proceed. Needed system RPMs were not installed. [20130131.123339] The Administrator will be notified to review this output when this script completes [20130131.123339] E Detected events which require user notification during updatenow. Will send iContact the log => Log closed Thu Jan 31 12:33:39 2013 [20130131.123339] E Running `/usr/local/cpanel/scripts/updatenow –upcp –log=/var/cpanel/updatelogs/update.1359657200.log` failed, exited with code 4608 => Log closed Thu Jan 31 12:33:39 2013 What seems to have happened here is that the file system was full. Even though I had increased the default drive size from 5GB to 40GB when the system booted the additional space was unavailable: This can be confirmed from SSH after connecting to the instance: [[email protected] ~]# df -h Filesystem Size Used Avail Use% … Continue reading
Users who want to use the AWS Management Console must sign in to your AWS account through the IAM-enabled sign-in page that’s specific to your account. You provide your users with the URL they need to access the sign-in page. You can find the URL for your account on the dashboard of the IAM console. When users use the link you give them, they will see a sign-in page similar to the following page. More info here
You’ve requested it, and now it’s here! DigitalOcean is happy to announce that all droplets in NYC2 are now equipped with Shared Private Networking, allowing them to communicate with other droplets in that same datacenter. You can enable shared private networking on your Droplet from the Droplet create screen. Traffic sent between Droplets across the private network will not count towards the bandwidth costs and can be used for database replication, file storage, and similar host to host communication. Check out our full length tutorial on how to set-up and use Shared Private Networking. Sign up or login at https://www.digitalocean.com/
I was using some CentOS images from CentOS via the Amazon Marketplace – well when one of them wouldn’t start due to a configuration error I thought I would just stop the instance, detatch the volume, attach it to another instance, mount it, make edits to the configuration, detatch it, reattach it to the original instance, and voila! Well that is how it should work – at least with my experience using Community AMIs provided by Canonical with Ubuntu. The error I got was: Client.OperationNotPermitted: ‘vol-xxxxxxx’ with Marketplace codes may not be attached as a secondary device. However, with CentOS and Enterprise Linux (EL) they provide instances via the marketplace – their site even says: Using the AMI’s directly is currently deprecated. We are working to resolve issues and establish automation as well as monitoring around resources and process that will allow us to re-enable direct AMI instantiation. In the mean time, the AMI’s are listed at the bottom of this document for legacy / reference purposes. After a lot of searching I found this on Quora: My name is Julien Ellie, I’m one of the engineers on the AWS Marketplace team at Amazon. We are aware of this issue and we’re looking into what can be done to address it. In the meantime if you contact customer support, they can help you through this and hopefully get you unblocked. You can reach them at 1-800-407-2983 or you can find the contact us form on the marketplace website at the … Continue reading
I’m now starting to use Rackspace after a having a lot of experience with Amazon AWS and so I’m having a hard time understanding a few things about the way Rackspace works. One of these things is “Disaster Recovery” for a Rackspace “Cloud Server’s” primary drive primary drive. There is a lot of server terminology with Rackspace so for clarification I’m talking about the ones in the Cloud Servers control panel that are in this tab: So my point of confusion is this: If I screw up something big on AWS, like the /etc/fstab file and the server won’t boot, I can use the AWS control panel to get the console log: If I need to edit things on the primary drive I can “detatch” it from the instance and attach it to another server, and then access the files on it. I searched the Rackspace knowledge base and also read the Disaster Recovery blog post which mentions three ways of doing disaster recovery with Rackspace: Take regular snapshots and restore the instance from one of those Do manual file system and database backups to have a copy of your data NOT on the primary drive Replication with Manual Failover (seems like overkill) I also saw that it is possible to boot the server into “recovery mode” but I haven’t tried it yet. The way I’m planning on running my rackspace server is attaching another drive (aka Storage Volume) and putting all the application data on that. I am also … Continue reading
Today Amazon has announced Amazon Coins which can be used to purchase games and apps in the online web store. Here is an image of one fo the Amazon Coins: Amazon says that their selection is growing exponentially and has increased by 25% in the last three months.
Yes! I didn’t realize this at first. I was searching for API tool for getting system log and ec2 command line system log and I even looked at all the ec2 command looking for the word log – but there is a trick. If you want to be able to grab the data that you grab via the web interface at console.aws.amazon.com: I hope this answer the following questions: ec2 “get system log” command line ec2 “get system log” command line ec2 cli system log ec2 get system log amazon ec2 api get system log amazon ec2 system tools Then you need to use the following ec2 command: ec2-get-console-output SYNOPSIS ec2gcons ([ec2-get-console-output]) ec2gcons [GENERAL OPTIONS] [-r] INSTANCE GENERAL NOTES Any command option/parameter may be passed a value of ‘-‘ to indicate that values for that option should be read from stdin. DESCRIPTION Display the instance’s console output. The INSTANCE parameter is the ID of the instance’s console to retrieve. SPECIFIC OPTIONS -r, –raw-console-output Raw output. Do not escape the console output. If not specified ^ESC is escaped and multiple blank-lines are folded into one.
For more info you can visit the knife configuration page on opscode % knife –help Usage: knife sub-command (options) -s, –server-url URL Chef Server URL -k, –key KEY API Client Key –[no-]color Use colored output, defaults to enabled -c, –config CONFIG The configuration file to use –defaults Accept default values for all questions -d, –disable-editing Do not open EDITOR, just accept the data as is -e, –editor EDITOR Set the editor to use for interactive commands -E, –environment ENVIRONMENT Set the Chef environment -F, –format FORMAT Which format to use for output -u, –user USER API Client Username –print-after Show the data after a destructive operation -V, –verbose More verbose output. Use twice for max verbosity -v, –version Show chef version -y, –yes Say yes to all prompts for confirmation -h, –help Show this message
I have a mp4/h.264 video that is a around 300mb. I would like users to be able to watch it on both desktop browsers and mobile devices. I have the video file stored on Amazon S3. I have two cloudfront sources enabled – one for download and one for streaming. I know I can use something like VideoJS to play the file with the ‘video/mp4’ source being the “download” cloudfront source which, I believe, plays while the file is being downloaded – I think this is called “progressive download” but it is not true streaming. I also realize that I can use something like JWPlayer and the “streaming” cloudfront source to give users on a desktop device, or a device that supports flash, the RTMP streaming experience. The problem I’m facing is poor performance on iOS devices – especially ones with limited bandwidth. From what I’ve been reading HTTP Live Streaming (HLS) seems to be the only “streaming” protocol that iOS devices really support. And as far as I can tell, Amazon Cloudfront only natively offers RTMP streaming of uploaded mpeg/h.264 files (not HLS). Amazon has a Live Smooth Streaming tutorial for use with Amazon CloudFront which appears to be, in a nutshell, a Windows IIS server running Adobe Flash Media Server and pushing out the HLS stream via Amazon Cloudfront. So, my questions were: If I want to push H.264/mpeg4 files “streaming” to iOS devices or HTML5 players, is the “right” way to do this to use HLS? Can … Continue reading
Amazon recently announced that they are enabling “detailled billing reports” – which is a great way to keep an eye on your AWS usage and costs. One of the wonderful things they are have enabled is a fine-tuned billing and even some projected billing. To set this up, log in to your Amazon Web Services Console and visit the Billing / Usage Details for your account. Click on Billing (near the bottom left) and then ‘sign up’ for the detailled billing and the programmatic billing. The reports will be saved to one of your S3 buckets – a few times per hour. Dear AWS customer, We are excited to announce Detailed Billing Reports, a new hourly grain view of your AWS usage and charges. This detailed report enables you to better understand your AWS Bill by providing hourly usage and cost data by product and Availability Zone. In addition, consolidated billing customers can now view unblended rates and cost. This report is particularly useful for analyzing your usage of Amazon EC2 On-demand and Reserved Instances. To get started, visit the Billing Preferences page to sign up for Detailed Billing Reports. You will also need to sign-up for Programmatic Access, as reports are only published to your Amazon S3 bucket. AWS generates new reports based on your estimated bill multiple times per day and a final report for month end. To learn more about Detailed Billing Reports, please visit About AWS Account Billing. Sincerely, The Amazon Web Services Team