Disney buys Fox’s studios and cable TV channels for $52 billion

After weeks of rumors, the deal is done — Disney will buy up large chunks of Rupert Murdoch’s Fox media empire for $52 billion. The list of what it won’t take is shorter: the Fox News cable channel, broadcast networks and Fox Sports, which are expected to spin off as their own business. The Disney conglomerate adds the Fox movie and TV studios (including big-name franchises like X-Men, Avatar, Alien and The Simpsons), majority control of Hulu, FX cable networks and $13.7 billion in debt. On top of that, Fox is attempting to acquire the parts of UK’s Sky that it doesn’t already own, and if that’s successful then Disney will get it too.

While possible implications for the Marvel Cinematic Universe will come to any comic book movie fan’s mind first — yes, Deadpool and the Fantastic Four are included — this purchase is all about Disney’s place in a changing TV landscape. As cord-cutting has increased and subscribers have shifted away from mainstays like ESPN, Disney is bulking up and preparing to launch its own streaming service in 2019 — which now has a much larger library to pull from.

Robert Iger & Rupert Murdoch

Developing…

Source: Disney

via Engadget
Disney buys Fox’s studios and cable TV channels for $52 billion

Nab This Humble Bundle Deal of Skill Building Maker Books

Just in time for Hanukkah, Christmas, and the New Year — our Maker Skill Builder Humble Bundle offers up to $227 worth of killer content for just $20.

Running through Dec. 27 and, as always, supporting the Maker Education Initiative, the final Humble of the year has two mystery books that will be “unlocked” on Wednesday, Dec. 20, and features two brand-new Jumpstarting books written specifically for this event.

Our Humble-only Jumpstarting ebook series provides a quick three-part avenue for makers to swiftly glean topical knowledge. Each book starts with instructions on how to install or initialize the hardware or software needed to reach the all-important “Hello, World” stage. The second project builds on the first to use more of the hardware or software’s capabilities. The final build expands the user’s knowledge into lesser-know aspects of the topic.

All Jumpstarting projects are specifically devised for makers — they provide hands-on, real-world experience in making the hardware or software do what you want it to do.

With this Humble Bundle, we launch Jumpstarting C and Jumpstarting JavaScript, two great tutorials for getting up to speed on these languages well before the resolutions wear off. And there’s nowhere else to get them but here!

Humble Bundles are uniquely gift-able. Set your price, make your purchase, click the gift link, and boom, your holiday shopping is done. Plus: you’ve given to charity. You can grab a discount on a print or digital subscription to Make: magazine too!

Here’s what we’ve got set up for you, and here’s how it goes. We sincerely hope that you love it.

 

Pay a Buck and Get…

Woodworking for Young Makers Full-color cartoons and drawings lead kids through the steps needed for making a wizard wand, a sanding block, a charging station for your phone or tablet, and a sturdy box with a hidden compartment.

Getting Started with Soldering Just released, this essential book guides makers through the fundamentals of soldering, explains the tools and materials, demonstrates proper techniques, and shows how to fix mistakes or broken connections.

Make: Magazine Volume 55 DIY Robots Build a 3D-printed balancing bot, assemble a Strandbeest-style walker with LEGO, and learn programming with robots. You’ll also find the right robot kit for your needs with our handy overview of what is on the market today.

Pay Just $8 To Receive…

Minecraft for Makers The only Minecraft book just for Makers! Build real-world versions of familiar objects from the game, like blocks, jack o’lanterns, and mobs. Begin with simple crafting projects, move up to projects with electronics and LEDs, and advance to programmable Arduino projects.

Easy Electronics Best-selling author Charles Platt, whose Make: Electronics books have literally sold millions of copies, introduces the easiest book possibly ever written on the topic. Brilliantly clear graphics take you step by step through 12 basic projects, none of which should take more than half an hour. Using alligator clips to connect components, you will see and hear immediate results. We’re really excited about this one!

mBots for Makers This brand new book is for non-technical parents, kids, and teachers who want to start with a robust robotics platform and then take it to the next level. The heart of the mBot, the mCore, is a powerful Arduino-based microcontroller that can do many things without soldering or breadboarding.

Make: Magazine Volume 57 All Hands on Boards Compare specs for more than 80 brand-new boards in our ever-growing boards guide to choose the right one for your next project. Plus, you’ll find more than 15 hands-on projects! Featuring Limor “Lady Ada” Fried! 

For a mere $15, Receive Everything Previously Listed, Plus…

Getting Started with the micro:bit Learn how to program with Python and make things with the new board from the BBC. You’ll learn about sensors, Bluetooth communications, IoT, and embedded operating systems.

Getting Started with 3D Carving Learn the basics of 3D drawing from the founder of Inventables and get free online Easel software. Go step-by-step through five beginner projects you can build yourself, and discover aspirational projects from brilliant makers in the 3D carving community.

Modern Leatherwork for Makers Take leather crafting into the 21st century with a guide that marries traditional skills to the latest CNC and 3D printing technologies. This book is perfect for makers new to leatherworking, as well as experienced leatherworkers who want to understand how to integrate new digital fabrication tools into their workbench.

Make: Magazine Volume 58 The Community Issue Explore different ways to tackle large scale projects that are much bigger than one person can handle alone. Get the scoop on how a team of engineers built the giant robot Megabot, learn to build your own autonomous R/C car, and so much more.

$20 Gets You The Whole Enchilada (But You Can Always Donate More!)…

Jumpstarting C A Humble exclusive prepared just for this deal and not available anywhere else. This short ebook gets you coding with C in three easy steps.

Jumpstarting JavaScript A Humble exclusive prepared just for this deal and not available anywhere else. This short ebook gets you started with JavaScript in three easy steps.

Zero to Maker, Second Edition The newly revised best-seller by Open ROV co-founder David Lang, this book is for everyone who dreams of becoming a successful maker-entrepreneur. It not only satisfies the aspirational aspect but shows newcomers to the maker movement exactly how to join in.

Design for CNC A manifesto for designing globally and manufacturing locally. Written by the founders of the architecture, design, and research firm Filson and Rohrbacher, this book takes you through the basics of CNC fabrication, the design process, production, and construction of your own furniture designs.

Be alert for the mid-promo adds, to be unlocked on Wednesday, Dec. 20, at 11amPST. They’re super secret, so all we can say is: So much brand-new Arduino goodness! Check back.

via MAKE Magazine
Nab This Humble Bundle Deal of Skill Building Maker Books

Titanium Nitride Shop Snip

img

Powerful scissors/snips

I find myself reaching for this titanium nitride shop snip a couple of times per week. It is like nice sharp pair of scissors with (almost) the power of tinsnips. It is VERY sharp and will cut through tough materials like vinyl cove base, nylon pallet strapping, or rope quite easily. I recently had to cut some vinyl trim that was too thick for scissors, but got mangled up with tinsnips. This tool cut the material perfectly. Fiskars says this about the Titanium Nitride coating: “EXTREMELY DURABLE Titanium Nitride coating resists wear, nicks and scratches as well as corrosive chemicals and sticky substances while reducing friction for easier cuts.” I found the rubber grip is comfortable and the tool is very easy to control. It seems very well made. It has nice little touches such as: the tab that keeps the blades locked closed is powdercoated.

— John Nichols

12/13/17

via Cool Tools
Titanium Nitride Shop Snip

New Star Wars: The Last Jedi trailer provokes fan theories with its final shot

Lucasfilm

The official Star Wars Twitter account shared one final short trailer for Star Wars: The Last Jedi yesterday, commemorating “VIII days” until the movie’s premiere. It’s only 30 seconds long, and it’s in that infuriating social video aspect ratio, but the new teaser does include some perplexing new material.

While the new spot uses a fair bit of footage we’ve seen in previous trailers, there are a handful of new shots—one of them quite provocative for the types of fans who revel in speculation and theories. So if you want to go into each shot fresh, watch before reading. And if you want to go into the movie totally fresh, don’t watch the trailer at all.

Star Wars: The Last Jedi “VIII days” trailer

Trailer details

Spoiler porg!

In this trailer, we get several more shots of Poe Dameron in action behind the throttle of his X-Wing—they comprise the majority of what’s new here. But we also get a glimpse at a stormtrooper preparing what looks like an energy axe, for lack of a better term.

But the most striking shot is the last one—in it, Rey takes and wields what looks like Kylo Ren’s red lightsaber during some kind of altercation in Snoke’s red throne room. There are a lot of reasons this could happen, some significant and some not. It could be that Kyle Ren was incapacitated, so she grabbed his weapon in a time of crisis. It could be that they team up, and he gives her his weapon so she can fight Snoke.

The other explanation is that Rey has in fact turned to the dark side—maybe the Snoke throne room scene involves a shocking switcheroo in which Kylo Ren sees the light and Rey goes dark as they swap lightsabers in a confrontation. But most of the trailers to date have teased that Rey might turn to the dark side, and they’ve done it with such volume and consistency that leads me to believe that’s not going to happen; they wouldn’t spoil something that big in the trailers, right? Besides, the Leia going dark fan theory is a lot more fun.

via Ars Technica
New Star Wars: The Last Jedi trailer provokes fan theories with its final shot

A Gun is a Tool for Moms to Use to Protect Their Kids: Quote of the Day














A Gun is a Tool for Moms to Use to Protect Their Kids: Quote of the Day

Amanda Suffecool courtesy facebook.com

courtesy Facebook.com

“For the longest time it’s always been assumed that it’s the men who are the protectors. But when you really start to ask, ‘Who is the most responsible person in the household?’… It’s the mom! It’s my job to protect my family with whatever tools are available, and a firearm is just another one of those tools.” – Amanda Suffecool in I Took A Ladies Handgun Fundamentals Course — Here’s Why [via refinery29.com]










via The Truth About Guns
A Gun is a Tool for Moms to Use to Protect Their Kids: Quote of the Day

Texas Lt. Governor Wants Texan Churches To Know They Can Have Guns

Lt. Governor Dan Patrick is a man on a mission. He’s like everyone else in this country in so far as he doesn’t want to see another Sutherland Springs. He especially doesn’t want to see another one in Texas.

That’s why he’s trying to make sure Texans know that they can carry their guns in church.

Following the mass shooting at a Baptist church in Sutherland Springs last month, Texas Attorney General Ken Paxton said arming congregants could prevent similar tragedies in the future. Lt. Gov. Dan Patrick thinks so, too, and wants Paxton to let more churches know that is an option.

Patrick requested Friday that Paxton issue an opinion clarifying whether congregants can bring guns to church and whether churches are exempt from state fees for creating volunteer security teams. Patrick said in the request that he hoped Paxton could inform more churches “what legal options they have to improve their security.”

Patrick made it clear in his letter to the attorney general that he feels state law allows congregants to bring guns to church unless a sign at the door says otherwise. He also wrote that a recently passed law exempts churches from fees other institutions must pay to form their own security forces.

The law in question just went into effect in September, just a matter of weeks before the tragedy in Sutherland Springs. It allows churches to have armed volunteer security teams without having to pay state fees to license the volunteers. Those fees can be fairly steep, thus creating a burden on smaller churches. The measure’s author, State Rep. Matt Rinaldi, noted last month that he believed that many churches were unaware of the new law.

While many look at Sutherland Springs as evidence that more gun control is needed, they ignore the fact that one armed congregant may have stopped the whole thing before it started.

Of course, gun control advocates scoff at the whole use of the word “may” and note that we know he killed plenty of people, and that’s true. It’s also irrelevant since an armed citizen outside the church engaged the killer and put an end to his rampage.

More armed congregants in more churches may well make churches poor target choices for future mass shooters. After all, these guys are motivated by big body counts. They want fame and notoriety. They relish the idea of everyone knowing their name. That’s part of why we don’t use their names here at Bearing Arms.

However, if they know they won’t get their infamy at a church because they’ll be killed far too quickly, they’ll move on somewhere else.

Harden enough targets by having armed citizens present and eventually we’ll see these dipsticks stop trying to get fame this way. If they want fame, it’ll become much easier to learn how to sing or play a sport than to try and shoot up a house of worship.

If you hit that point, you no longer have to worry. There’s a reason that gun control will never work, and this is it.

The post Texas Lt. Governor Wants Texan Churches To Know They Can Have Guns appeared first on Bearing Arms.

via Bearing Arms
Texas Lt. Governor Wants Texan Churches To Know They Can Have Guns

The Best Thunderbolt 3 and 2 Docks

Thunderbolt 3 Docks

CalDigit’s TS3 is a great option—it’s a previous former top pick. It has three USB-A ports and an otherwise standard collection of inputs, and a small body. But it’s more expensive than our pick and has fewer ports. Choose this one mainly if 85-watt charging—say, for a 15-inch MacBook Pro—is important to you, otherwise, stick with the Plugable.

Elgato’s Thunderbolt 3 Dock is more expensive than our top pick, with two fewer USB-A ports, and you can’t position it vertically so it takes up more desk space than the CalDigit dock.

Belkin’s Thunderbolt 3 Express Dock has the same inputs and outputs as the TS3 (minus the eSATA ports), but is wider and costs more. Belkin often charges a premium for its admittedly well-made products, but in this case, you don’t get any more for your money.

StarTech’s Thunderbolt 3 Dual-4K Docking Station and Iogear’s Thunderbolt 3 Quantum Docking Station have the same ports and layout as the CalDigit TS3 Lite, our budget pick. The metal housings are different textures and colors, but otherwise the bodies are the same shape and size, and the ports are all in the exact same positions. We don’t know if the three models are using the same reference design, or even the same circuitry inside, but we saw pretty much identical performance between all three. Considering the CalDigit model’s lower retail price, we recommend sticking with the TS3 Lite unless the StarTech or Iogear is available at a significantly lower price when you’re shopping.

Kensington’s SD5000T Thunderbolt 3 Docking Station has the same inputs and outputs as the TS3 Lite, Startech, and Iogear, but unlike those models, it supports 85-watt charging. It also includes a Kensington lock slot for security and can be mounted to the back of a monitor with a separate mounting plate. However, it’s more expensive than our top full-speed charging picks without providing significantly more value.

We didn’t test StarTech’s Thunderbolt 3 Dual-4K Docking Station with full Power Delivery. It was announced just as the latest update to this guide was being published, but it costs about $100 more than our top pick, and we don’t see any reason to pay that premium. This StarTech dock has the same design and ports as StarTech’s less-expensive version (mentioned a few paragraphs above), but it supports 85-watt charging instead of just 15 watts, and it comes with a USB-C–to–DisplayPort cable in addition to its Thunderbolt 3 cable, allowing you to connect to a monitor out of the box. We don’t think that extra is worth paying such a high premium.

Thunderbolt 2 Docks

Elgato’s Thunderbolt 2 Dock is a strong competitor to the OWC dock, performing similarly in our tests. It has two fewer USB ports than our top pick and no FireWire, but it ships with a short Thunderbolt cable (something you pay extra for with the OWC dock) and a software utility for both Mac and Windows that lets you eject all the connected peripherals at once. If those USB ports aren’t necessary for you, we think it’s a good buy, especially given the included cable.

CalDigit’s Thunderbolt Station 2 performed well in our tests overall. (It has the slowest average Thunderbolt write speeds, but the difference is small enough that it shouldn’t determine your buying decision.) On the other hand, it has fewer USB ports than our top pick, and though it packs eSATA, we don’t find that connection to be important for most people. We do like the size and shape of this one: Unlike most Thunderbolt 2 docks, this one stands vertically, so it takes up less space on a desk.

StarTech’s Thunderbolt 2 Docking Station originally seemed to be a great alternative for about the same price as the OWC dock, and it was our former runner-up. The StarTech dock’s port array is a little different—we’d say it was less impressive—but it has the second-most USB ports of any dock out there. To our disappointment, it exhibited the same kind of disconnection issues as the original OWC dock over long-term testing.

We ruled out AKiTiO’s Thunder2 Dock before the testing phase simply based on the ports it has—or, rather, doesn’t have. The dock has only two Thunderbolt ports, two USB 3.0 ports, two eSATA ports, and a FireWire 800 connection. Compared with the other models we tested at around the same price, it’s simply lacking.

Belkin’s Thunderbolt 2 Express HD Dock is more expensive than any Thunderbolt dock we tested, without any compelling advantages.

Iogear’s Thunderbolt 2 Docking Station is appealing at first glance, but our testing revealed some problems. It has just three USB 3.0 data ports, with a fourth USB port for high-speed charging—but only to around 1.7 amp, not 2.1 amps or 2.4 amps as we prefer. It also has no FireWire or eSATA ports, but it does include the rest of the expected connectors. We experienced no disconnections during our testing, but we did find that with this model our monitor took longer to wake up than with the OWC dock. We also heard a frequent and annoying popping sound from connected speakers; the problem persisted even after we switched to a different cable.

via Wirecutter: Reviews for the Real World
The Best Thunderbolt 3 and 2 Docks

Bezos and other tech luminaries back $150M ‘Rise of the Rest’ fund to boost startups between coasts

The Rise of the Rest bus tours the country looking for startups outside Silicon Valley. (Rise of the Rest Photo)

Some of the world’s most influential business leaders want to repair the deep divisions in America by investing in entrepreneurship outside of traditional tech hubs like Silicon Valley and Seattle.

That’s the goal of Rise of the Rest, an organization created by AOL co-founder Steve Case and J.D. Vance, author of “Hillbilly Elegy,” to “revolutionize” the U.S. economy. The two connected because Case read Vance’s chronicle of Rust Belt decline as a problem that needed solving. That’s according to an account from The New York Times that details how the unlikely duo formed the Rise of the Rest Tour, traveling across the country to make small investments in startups. Now, they’re taking the project to the next level with a little help from Amazon CEO Jeff Bezos, Starbucks CEO Howard Schultz, Alphabet Chairman Eric Schmidt and others.

Today, Rise of the Rest announced the list of high-profile investors backing a new $150 million fund to invest in startups in so-called fly over states.

“We know the talent is evenly distributed but opportunity is not,” Case said in a video announcing the fund.

The vast majority of venture capital funding is concentrated in just a handful of cities and states which means the wealth and opportunity created by the innovation economy are not shared proportionately with regions outside tech hubs. The result is a bubble effect in which people living in prosperous regions struggle to identify with people living in communities that haven’t rebounded from the decline of manufacturing, and vice versa.

Vance details that divide in “Hillbilly Elegy,” an account of his family history in Kentucky and Ohio that reflects more broadly on social deterioration. “There is no group of Americans more pessimistic than working-class whites,” is a thread woven throughout.

The Rise of the Rest is about bringing opportunity back to communities like Vance’s hometown by removing a big barrier for startups outside of tech hubs: access to capital.

The effort will probably meet some skepticism. It’s a good opportunity for Big Tech to make headlines by addressing the growing resentment from those who have been left behind by the new economy. Still, the investors on board have experience solving complex problems. Take Dan Gilbert, the Quicken Loans founder who has played a vital role in Detroit’s renewal.

The fund will go toward companies innovating in “major industries like food, healthcare, transportation, and agriculture – industries that have long established ties to regions between the coasts,” according to the Rise of the Rest website.

Rise of the Rest’s next tour will kick off in Spring 2018, visiting five cities in five days and making investments based on pitch competitions.

Continue reading for a full list of investors in the fund.

  • Louis Bacon
  • Jim Barksdale
  • Jeff Bezos
  • Sara Blakely
  • Jim Breyer
  • Tory Burch
  • Steve Case
  • Ray Dalio
  • John Doerr
  • Scott Dorsey
  • Craig Duchossois
  • Dan Gilbert
  • Sheila Johnson
  • Brad Keywell
  • Members of the Koch Family
  • Henry Kravis
  • Mel Lagomasino
  • Eric Lefkofsky
  • Ted Leonsis
  • William M. Lewis, Jr.
  • Joe Mansueto
  • Michael Milken
  • Adebayo Ogunlesi
  • Sean Parker
  • Charles Phillips
  • William Powers
  • Members of the Pritzker Family
  • David Rubenstein
  • Howard Schultz
  • Eric Schmidt
  • Byron Trott
  • John Underwood
  • J.D. Vance
  • Jeff Vinik
  • Romesh Wadhwani
  • Members of the Walton Family
  • Meg Whitman

via GeekWire
Bezos and other tech luminaries back $150M ‘Rise of the Rest’ fund to boost startups between coasts

‘Watershed’ Medical Trial Proves Type 2 Diabetes Can Be Reversed

dryriver

writes:

For those suffering from type 2 diabetes, there is good news. Nearly half of the participants in a watershed trial of a new diabetes treatment were able to reverse their affliction. The method is quite simple — an all liquid diet that causes participants to lose a lot of weight, followed by a carefully controlled diet of real solid foods. Four times a day, a sachet of powder is stirred in water to make a soup or shake. They contain about 200 calories, but also the right balance of nutrients. If the patient can keep away from other foods long enough, there is a chance of reversing type 2 diabetes completely. Prof Roy Taylor, from Newcastle University, told the BBC: “It’s a real watershed moment. Before we started this line of work, doctors and specialists regarded type 2 as irreversible. But if we grasp the nettle and get people out of their dangerous state (being overweight), they can get remission of diabetes.” However, doctors are not calling this a cure. If the weight goes back on, then the diabetes will return. The trial only looked at people diagnosed with diabetes in the last six years. Doctors believe — but do not know with absolute certainty yet — that in people who have had the affliction much longer than that, there may be too much permanent damage to make remission possible.

The trial results have been

published in the Lancet medical journal

.

via Slashdot
‘Watershed’ Medical Trial Proves Type 2 Diabetes Can Be Reversed

Monitoring RDS MySQL Performance Metrics

Amazon Web Services (AWS) is a cloud platform that offers a wide variety of services including computing power, database storage, content delivery and other functionality that targets businesses of all sizes. One of their database solutions includes the Amazon Relational Database Service. Amazon RDS includes a number of popular RDBMSes, including Amazon Aurora, PostgreSQL, MySQL, MariaDB, Oracle, and Microsoft SQL Server, as well as tools to manage your databases and monitor their performance.

Despite the wide range of metrics available within the Amazon RDS console, there are some very good reasons for using your own monitoring tool(s) instead or in addition to those offered by Amazon RDS. For example, familiarity with your own tool(s) or access to features that Amazon RDS does not provide would constitute two persuasive reasons for employing a local tool.

With traditional software monitoring platforms such as Monyog still enjoying widespread usage on cloud-based databases, vendors have been quick to accommodate cloud DBaaS platforms by adding new support and features. Case in point, Monyog version 8.1.0 introduced the RDS/Aurora OS Monitoring feature to make use of Amazon’s CloudWatch API and utilize the different OS metrics available with the API to fetch and display data.

In this blog, we will explore how to monitor MySQL Performance Metrics using both the Amazon monitoring tools as well as the latest version of Monyog in order to compare the strengths of each.

Amazon RDS Metrics

Amazon’s RDS database platform provides statistics and advice about many types of metrics including:

  • High CPU or RAM consumption
  • Disk space consumption
  • Network traffic
  • Database connections
  • IOPS (input output operations per second) metrics

AWS provides both automated and manual tools that you can use to monitor your RDS database(s). This setup allows you to automate monitoring tasks as much as possible while leaving some for you to manage as you see fit.

These tools are spread across several dashboards including Amazon RDS, CloudWatch, AWS Trusted Advisor and other AWS console dashboards. Each targets different types of metrics about resource utilization and performance as well as services like alarms and troubleshooting. We’ll be focussing on CloudWatch and the Amazon RDS here.

Monitoring with Amazon CloudWatch

Amazon CloudWatch collects and processes raw data from Amazon RDS into readable, near real-time metrics. Historical information is stored for a period of two weeks, so that you can gain a better perspective on how your RDS instance is performing over time.

The CloudWatch console is located at http://ift.tt/1Gmg9Cx. From there, you can change the region and view RDS metrics by choosing Metrics in the navigation pane, followed by the RDS metric namespace. RDS metrics are divided by:

  • Per-Database Metrics
  • By Database Engine
  • By Database Class
  • Across All Databases

RDS Cloud Metrics

Clicking on a metric type shows all of the applicable metrics for that type.

Each metric has a checkbox on the left-hand side that, when checked, adds that metric to the displayed graphs:

RDS CloudWatch WriteThroughput

CloudWatch metrics may also be viewed using the AWS Command Line Interface (CLI). It’s a unified tool to manage your AWS services from one place. The one tool may be utilized to download, configure, and control multiple AWS services from the command line and automate them through scripts.

The AWS CLI is built on top of the AWS SDK for Python. Once configured, you can start using all of the functionality provided by the AWS Management Console from your favorite terminal program, including Linux shells, the Windows command line, with the Amazon EC2 systems manager, and even remotely through a remote terminal such as PuTTY or SSH.

The following command lists all of the metrics for the AWS/RSD namespace:

aws cloudwatch list-metrics --namespace AWS/RDS

The Amazon RDS Dashboard

Amazon RDS provides metrics that pertain directly to the functioning of your DB instances and clusters. From the Amazon RDS Dashboard, you can monitor both database and operating system (OS) metrics.

Viewing DB and OS metrics for a DB instance using the Console

After a successful sign-in to the AWS Management Console, you can access the Amazon RDS console at http://ift.tt/1nx2eCI. From there:

  1. In the navigation pane, choose DB Instances.
  2. Select the check box to the left of the DB cluster you need information about. Under Show Monitoring, choose the option for how you want to view your metrics from the following four choices:

    • Show Multi-Graph View – Shows a summary of DB instance metrics available from Amazon CloudWatch. Each metric includes a graph showing the metric monitored over a specific time span.
    • Show Single Graph View – Shows a single metric at a time with more detail. Each metric includes a graph showing the metric monitored over a specific time span.
    • Show Latest Metrics View – Shows a summary of DB instance metrics without graphs.
    • Enhanced Monitoring – Shows a summary of OS metrics available for a DB instance with Enhanced Monitoring enabled. Each metric includes a graph showing the metric monitored over a specific time span. (Enhanced Monitoring will be covered in more detail in the next section.)

RDS Show Monitoring Views


The time range of the metrics represented by the graphs may be selected via the Time Range dropdown. It’s available for every Dashboard except Enhanced Monitoring.

Graphs are divided into many pages that can be accessed via the page buttons. Moreover, the Show All button displays all graphs on one page.

RDS Multi-graph View

Clicking on any graph brings up a more detailed view of that graph:

RDS detailed graph view

You can apply metric-specific filters on this screen as well as create applicable alarms.

Enhanced Monitoring

To gather and analyze metrics for your DB instance and its underlying operating system (OS) in real time, you can view Enhanced Monitoring metrics in the console, or consume JSON output from CloudWatch Logs in a monitoring system like Monyog.

Enhanced Monitoring is a free service until usage exceeds the free tier provided by Amazon CloudWatch Logs. After that Enhanced Monitoring is priced according to several factors, including:

  • Monitoring interval: A smaller monitoring interval results in more frequent reporting of OS metrics and increases your monitoring cost.
  • The number of DB instances: Usage costs for Enhanced Monitoring are applied for each DB instance that Enhanced Monitoring is enabled for. Hence, monitoring a large number of DB instances is more expensive than monitoring just a few.
  • Workload: DB instances whose workload is more compute-intensive have more OS process activity to report and higher costs for Enhanced Monitoring.

Visit the Amazon CloudWatch Pricing page to obtain more information on Enhanced Monitoring prices.

Viewing DB Metrics by Using the CloudWatch CLI

Amazon RDS integrates with CloudWatch metrics to provide a variety of DB instance metrics. In addition to the RDS console, you can also view RDS metrics using the AWS CLI or API.

For example, invoking the mon-get-stats CloudWatch command with the following parameters displays usage and performance statistics for a DB instance:

PROMPT>mon-get-stats FreeStorageSpace 

       --dimensions="DBInstanceIdentifier=mydbinstance" 

       --statistics=Average 

       --namespace="AWS/RDS" 

       --start-time 2015-09-29T00:00:00 

       --end-time 2015-09-2900:04:00

Results:

Time                 Average  Unit   

2015-09-29 00:00:00  33.09    Percent      

2015-09-29 00:01:00  32.17    Percent      

2015-09-29 00:02:00  34.67    Percent      

2015-09-29 00:03:00  32.33    Percent      

2015-09-29 00:04:00  31.45    Percent

Here’s how to fetch the same statistics as above via the GetMetricStatistics CloudWatch API:

http://ift.tt/2zOlOpc

	?SignatureVersion=2

	&Action=GetMetricStatistics

	&Version=2009-05-15

	&StartTime=2015-09-29T00:00:00

	&EndTime=2015-09-29T00:04:00

	&Period=60

	&Statistics.member.1=Average
 
     &Dimensions.member.1="DBInstanceIdentifier=mydbinstance"	&Namespace=AWS/RDS

	&MeasureName=FreeStorageSpace						

	&Timestamp=2009-10-15T17%3A48%3A21.746Z

	&AWSAccessKeyId=

	&Signature=

Integrating the Monyog Monitoring Tool with CloudWatch

Many people are unaware that you can collect metrics for database instances that reside on the Cloud using your own monitoring tools, much like you would for databases that reside on your own company infrastructure. These may offer extended monitoring functionality. For instance, you can correlate metrics from your cloud database with other parts of your infrastructure, such as applications that interact with that database. It may also be possible to massage and/or filter your metrics for specific uses. Monyog makes it easy to seamlessly integrate with the CloudWatch API in order to collect metrics from across your infrastructure and AWS.

Connecting to your RDS instance

You cannot access your RDS instances directly as you would a local database. That being said, you can connect to your MySQL instance remotely using standard database tools, provided that you’ve configured the security group for your MySQL instance to allow connections from the device you are using to establish a connection.

Newly created DB security groups don’t provide access to a DB instance by default. You must specify a range of IP addresses or an Amazon EC2 security group that can have access to the DB instance.

To add inbound rules to the security group

  1. Determine the IP address that you will use to connect to instances in your DB Instance. To determine your public IP address, you can use the service at http://ift.tt/LssAY2. If you are connecting through an Internet service provider (ISP) or from behind your firewall without a static IP address, you need to find out the range of IP addresses used by client computers.

    Use 0.0.0.0/0 to enable all IP addresses to access your public instances. This approach is perfectly acceptable for a short time in a test environment but is unsafe for production environments. In production, always authorize only the specific IP address or range of addresses that will be accessing your instances.
  2. Open the Amazon VPC console at http://ift.tt/1jporn2.
  3. Click on the security group that you’d like to grant users access to (highlighted in red above).
  4. Choose the Inbound Rules tab, and then click Edit.
  5. Set the protocol Type and IP Source for your new inbound rule. For instance:

    • Type: HTTP (80)
    • Source: 0.0.0.0/0.
  6. To save your settings, choose Save.

edit security group inbound rules


Once your access rules are in place, you can connect to your MySQL Instance using the mysql command line tool:

mysql -h instance-name.xxxxxx.us-east-1.rds.amazonaws.com -P 3306 -u yourusername -p

The instance endpoint (ending in rds.amazonaws.com) can be found in the list of instances on the RDS console.

Establishing a Connection to your RDS instance from Monyog

In Monyog, connecting to an RDS DB is no different than one that resides on your own infrastructure. All configured servers are located on the Servers screen, which is accessible via the Servers button, usually the top icon on the left-hand side.

  • Click the ADD NEW SERVER button to bring up the Server Details dialog.

add new server button

  • On the Server Details dialog, enter the following details:

    1. Your DB Instance endpoint.
    2. The MySQL port.
    3. Your USERNAME and PASSWORD.
    4. The CONNECTION TYPE.

Amazon RDS connection screen

  • When completed, click SAVE to create the connection and close the dialog.

Once the connection has been established, Monyog will immediately begin gathering metrics about your DB instance. You will be able to see some of them on the Dashboard:

Monyog Amazon RDS Performance Metrics Dashboard

Viewing RDS Instance Metrics

The RDS/Aurora OS Monitoring feature introduced with Monyog 8.1.0 employs the CloudWatch API in order to fetch and display OS metrics that are exposed via the API. RDS/Aurora OS monitors are shown under the MONITOR GROUP as “RDS/Aurora Instance Metrics” on the Monitors page while the corresponding charts are available on the Dashboard page.

In order to be able to see the OS data, you should first verify that the RDS/Aurora Instance Metrics are enabled. To do that, click the plus (+) sign beside the MONITOR GROUP header on the MONITORS page and confirm that the slider is to the right and blue in color (and not gray):

Monyog RDS-Aurora Instance Metrics

Editing RDS Instance Metrics

Clicking the “RDS/Aurora Instance Metrics” item under the MONITOR GROUP on the Monitors page shows the configured monitors. Each item in the MONITORS table is fully editable by clicking it:

Monyog RDS-Aurora Instance Metrics – Edit monitor – CPU Utilization

Configure Custom RDS/Aurora Monitors

In addition to the default RDS/Aurora monitors, you can add new monitors via the MONITORS header dropdown list. These may be any available CloudWatch metric. Refer to the AWS site for the complete list of CloudWatch metrics available for RDS.

  1. Select Manage RDS/AURORA custom objects from the list:
  2. monitors menu

  3. On the ADD/EDIT RDS/AURORA CUSTOM OBJECTS screen, click the plus (+) icon. Doing so will present a blank RDS/Aurora Object configuration screen. Here it is with a new Object defined:

Adding a new custom monitor

Adding the Monitor

Once you’ve configured your new RDS/Aurora Custom Object you’re ready to add it to the list of the Monyog default metrics.

  1. Go to Monitors -> RDS/Aurora Instance Metrics, click on the plus (+) icon, then select Add new monitor.
  2. Enter the Monitor name and the Monitor group name that you want to add the new monitor to. For instance, you would enter “RDS/Aurora Instance metrics” if you wanted to add it in this group.
  3. Select the “Type of counter” appropriate to your monitor:

    • MySQL: database-related information.
    • System: OS-related information.
    • Custom SQL: for a Custom SQL object.
  4. Provide a Formula name.
  5. Enter a Javascript function in the Value field using the Cloudwatch metric like:
function() {

 	 return GetAWSMetricVal('NetworkReceiveThroughput');

}

add new monitor screen

Adding New RDS/Aurora Dashboard Charts

The Monyog Dashboard page allows us to customize a dashboard with a particular set of charts. With respect to AWS RDS, you could create a dashboard with only RDS metrics charts for ease of monitoring.

In order to add an RDS/Aurora chart to the dashboard page, the corresponding RDS/Aurora custom object should be defined and enabled first. Then, follow the steps below to add the chart:

  1. From the Dashboard page, click the DASHBOARDS dropdown and select the pencil icon to the right of the Performance Metrics item:
  2. edit dashboard

    On the Performance Metrics screen:

  3. Locate your custom object in the list or enter the name in the search box to find it:
  4. Performance Metrics charts with new chart added

  5. Click the pencil icon to the right of the Item.

In the Editor:

  1. Select the Type of Counter.
  2. Provide the Series Caption and Series Values:
  3. Add new chart

  4. Click the SAVE button to add the chart and close the dialog.
  5. Don’t forget to activate your new chart on the Performance Metrics screen!

Conclusion

In this blog, we explored how to monitor MySQL Performance Metrics using both the Amazon monitoring tools as well as the latest version of Monyog in order to compare the strengths of each.

We learned that:

  1. Amazon’s RDS database platform provides statistics and advice about many types of metrics. These may be configured and consumed using a variety of online tools as well as via the CLI or API.
  2. The RDS Dashboard provides monitoring of both database and operating system (OS) metrics. A number of views are available including single and multi-graph layouts.
  3. Enhanced Monitoring may be utilized to gather and analyze metrics for your DB instance and its underlying operating system (OS) in real time but at a potential additional cost.
  4. Monyog version 8.1.0 introduced the RDS/Aurora OS Monitoring feature to make use of Amazon’s CloudWatch API and utilize the different OS metrics available with the API to fetch and display the data.
  5. Monyog features a number of default RDS/Aurora monitors and provides the ability to add new monitors. These may be any available CloudWatch metric.
  6. RDS charts may be added to the Monyog Dashboard page in order to create customized views.

Moving database operations need not demand a whole new set of monitoring tools and interfaces. With Monyog’s Amazon RDS/Aurora integration, you can continue to utilize the monitoring tool that you already know and trust.


Monyog is a MySQL monitoring tool that improves the database performance of your MySQL powered systems. Download your free trial.

The post Monitoring RDS MySQL Performance Metrics appeared first on Monyog Blog.

via Planet MySQL
Monitoring RDS MySQL Performance Metrics