Tag Archives: ec2

How to setup cPanel on Amazon EC2 with Centos 6.4

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

Posted in Linux, Server Administration | Tagged , | Leave a comment

How To Sign Into Amazon Console With IAM

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

Posted in Tech Tips | Tagged , , , | Leave a comment

DigitalOcean: Private Networking Released

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/

Posted in Tech Tips, Web Development | Tagged , , | Leave a comment

Does Amazon ec2 have “Get System Log” for the command line (CLI) API?

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.

Posted in Uncategorized | Tagged , , | Leave a comment

AWS Control Panel Gets a CSS / Design Refresh

Amazon EC2, CloudFront, and all of the other Amazon Web Services have received a CSS / Design refresh after a few years of using the previous design. A few highlights on the new design: Dropdown Selection of all AWS Services This has been available for at least a few months. Amazon was adding so many “tabs” to the previous horizontal layout that they ran out of space. Configurable View Options Much like WordPress’s “Screen Options” Amazon has added some settings for how you view items in the toolbar: Collapsable Sidebar Amazon now gives you the option to collapse the sidebar more easily (previously you could resize it). Toggling it is a more effective way to quickly see more of the columns in the panel on the right. Quick Toggle for the Properties Panel There are now three icons in to quickly toggle sizes in the Properties Panel at the bottom There have been a few other changes to try and make the panel more “responsive” and friendlier for small screen sizes. However, I would still rather use a mobile app to manage EC2 instances on my phone.

Posted in Design, Server Admin, Tech Opinion, Web Development | Tagged , , | Leave a comment

Scale On-Demand and Reduce your Backup and File Share Costs with AWS Storage Gateway

Dear Amazon Web Services Customer, Find out more about how you can use the AWS Storage Gateway to reduce the cost of your departmental backup and file share storage by joining our Dec 5, 10am PST webinar. During the webinar, we’ll discuss how you can easily deploy our recently launched Gateway-Cached volumes feature to reliably back up your on-premises data to Amazon S3. We’ll also discuss how you can seamlessly store your corporate file shares on Amazon S3, minimizing the need to scale your storage on-premises, while retaining low-latency access to your frequently accessed files. After the presentation, we will be answering questions from the audience. Register here for the webinar. Time: 10:00-11:00 AM PST Date: Wednesday, December 5, 2012 Sincerely, The AWS Storage Gateway Team

Posted in Marketing, Server Administration, Tech Tips, Web Development | Tagged , | Leave a comment

AWS re: Invent Day 2 Highlights & Announcements

Hello again from AWS re: Invent! The second day of AWS re: Invent in Las Vegas started off with a great talk from Amazon.com CTO Dr. Werner Vogels. After a brief recap of yesterday’s announcements (Amazon Redshift and the S3 price reduction), Werner discussed the role of system architecture in today’s world of unconstrained, programmatic access to processing, storage, and network resources. He emphasized that new architectures must be scalable, fault-tolerant, high-performance, and cost-effective. His talk included guest speakers from Pinterest and Animoto, along with live, dynamic demos conducted by AWS Evangelists Matt Wood and Simone Brunozzi. Werner announced a pair of new Amazon EC2 instance types, one for high storage applications and another for high memory applications. He also announced the AWS Data Pipeline. New Amazon EC2 instances Two new Amazon EC2 instance types will be made available to customers in the US East (Virginia) region in the coming weeks. High Storage Instances are a new Amazon EC2 instance optimized for customers that need high storage depth and high sequential I/O for applications like data warehousing, Hadoop and data-intensive HPC. High Storage instances will be available in a single size, High Storage Eight Extra Large (hs1.8xlarge), and have 16 virtual cores, 24 hard disk drives, 48 TB of storage capacity, 117 GiB of RAM and 10 Gigabit Ethernet networking. Cluster High Memory instances are another new Amazon EC2 cluster instance type optimized for memory-intensive analytics and scientific computing. Cluster High Memory instances will be available in a single size, … Continue reading

Posted in Marketing, Server Admin, Web Development | Tagged , , , , | Leave a comment

AWS re: Invent Day 1 Highlights & Announcements

Greetings from Las Vegas, host city for AWS re: Invent! AWS Senior Vice President Andy Jassy kicked off AWS re: Invent with a rousing 90 minute keynote presentation in front of 6,000 attendees, with another 13,000 watching the live stream. Andy’s talk covered a lot of ground! Starting with the history and growth of AWS over the last 6.5 years, he talked about important AWS use cases including web site hosting, gaming, social media, high performance computing (HPC), media distribution and streaming, disaster recovery, and more. He noted that AWS has hundreds of thousands of customers in 190 countries. This includes over 300 government agencies and 1500 educational institutions. Andy also used this opportunity to reveal some updated statistics on the growth of AWS – over 1.3 trillion objects in Amazon S3 (accessed at a rate of over 835,000 requests per second) and 3.7 million Hadoop clusters launched on Elastic MapReduce in the past two years. During the keynote we also announced Amazon Redshift, our new data warehouse product and an Amazon S3 price reduction, drawing applause from the live audience and a similarly appreciative reaction online. Amazon Redshift Amazon Redshift is a fast and powerful, fully managed, petabyte-scale data warehouse service in the cloud. Redshift offers you fast query performance when analyzing virtually any size data set using the same SQL-based tools and business intelligence applications you use today. With a few clicks in the AWS Management Console, you can launch a Redshift cluster, starting with a few hundred … Continue reading

Posted in Marketing, Security, Server Admin, Web Development | Tagged , , | Leave a comment

How to allow java in the firewall on OS X Mountain Lion

I was getting a message when using Amazon EC2 command line tools: Do you want the application “java” to accept incoming network connections? You can open your firewall and security settings preference pane and click on “Firewall Options”: You might be tempted to add /usr/bin/java to the list of acceptions, but that actually won’t cut it. You’ll still get the firewall warning when running Amazon Web Services Command Line Tools. If you open terminal and run echo $JAVA_HOME it should show you the path of the java it’s using. For me this was located at: /System/Library/Frameworks/JavaVM.framework/Home/ What you’ll find in that folder is a bin directory and a java file inside that: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java If you then add that file to the list of exceptions you’ll stop receiving this flash of a popup that is prompting you to accept: Do you want the application “java” to accept incoming network connections?

Posted in Mac, Tech Tips | Tagged , , | 11 Comments

AWS re: Invent Conference Details Available Now

  We are excited to share more details about AWS re: Invent, our first global customer and partner conference. Join the best and the brightest developers, hottest start-ups, and visionary technology leaders in Las Vegas, November 27-29 and be part of the largest gathering of the AWS community.   Important Details Full Conference Pass: $1099 Registration Open Date: July 25, 2012 Find the latest information on tracks, sessions, and speakers on the AWS re: Invent website. We have built the agenda around topics requested by customers. Choose from over 150 sessions led by AWS engineers and architects, product managers, AWS customers and partners, including: AWS Best Practices Compute & Networking, Databases, Storage, Content Delivery… Cloud Computing Use Case Web apps, Big data, High performance computing, Disaster recovery, Mobile, Media sharing… Enterprise IT Migrating enterprise apps to the cloud, Governance and security best practices, Customer case studies… Architecture High availability best practices, Scaling and Performance Tuning, Networking architectures… Developer Tools Using AWS SDKs for your favorite language, Architecting for cost savings, Deployment management tools from AWS and partners… AWS Resource Management Tips for lowering your bill, DevOps in the cloud, Automation and deployment best practices, Performance optimization, Testing… Security Cloud Security best practices, Building PCI and HIPAA Compliant apps, Identity and access management… New AWS Services How to get started with recently launched services like Amazon DynamoDB, Amazon CloudSearch, Amazon Simple Workflow Service… Service Team Office Hours Connect with engineers and product managers to get your technical questions answered   Mark … Continue reading

Posted in Server Admin, Social Media, Web Development | Tagged , , , | 1 Comment