Showing posts with label Google. Show all posts
Showing posts with label Google. Show all posts

Saturday, July 8, 2017

AWS vs Azure vs Google Cloud Platform – Compute



 by Jess Panni

In this series, we’re comparing cloud services from AWS, Azure and Google Cloud Platform. A full breakdown and comparison of cloud providers and their services are available in this handy poster.

We have assessed services across three typical migration strategies:
Lift and shift – the cloud service can support running legacy systems with minimal change
Consume PaaS services – the cloud offering is a managed service that can be consumed by existing solutions with minimal architectural change
Re-architect for cloud – the cloud technology is typically used in solution architectures that have been optimised for cloud

And have grouped services into 10 categories:
Compute
Storage & Content Delivery
Database
Analytics & Big Data
Internet of Things
Mobile Services
Networking
Security & Identity
Management & Monitoring
Hybrid

In this post we are looking at…
Compute

This category covers all services that can be used to run applications in the cloud.
AWS

Amazon is often been seen as the Infrastructure as a Service (IaaS) market leader with their Elastic Compute Cloud (EC2). AWS lets you choose from a range of 40 virtual server instance sizes from low cost ‘nano’ instances to high end memory, storage or GPU optimised products, offering up to 128 ‘vCPU’s and a whopping 2TB of memory (be warned this doesn’t come cheap!). The lower end T2 instances offer baseline performance with the ability to ‘burst’ above the baseline for short periods. EC2 comes with images for Linux and Windows Server. A free tier is available for 1 year (equivalent of running one low end instance) although this is unlikely to be a major decision factor for most organisations. On-demand instances are billed per-hour, and discounted prices are available on instances that are paid up-front, or reserved on a recurring schedule, and there is even a spot pricing option on excess capacity. Auto-scaling these instances is supported, with the ability to scale in response to a range of run-time thresholds reported by CloudWatch.

AWS offers persistent disk options through Elastic Block Store and comes with a variety of SSD and HDD flavours. Disk storage is backed by Elastic Block Store and is automatically replicated across multiple servers within an availability zone (a specific location with an AWS region). Replication across regions is supported by shipping snapshots.

AWS Container Service is Amazon’s solution for running and managing docker containers. It relies on ECS to provide the underlying container instances. Standard images are available or you are free to choose your own. EC2 Container Registryallows developers to publish their docker container images to a private managed repository which is important to support development and devops workflows.

Amazon also offers a good range of PaaS services. Elastic Beanstalk is a PaaS compute solution for running web applications written in Python, PHP, JavaScript, .NET, Ruby, Java and Go. It can scale on request or based on certain run-time thresholds such as CPU usage. Elastic Beanstalk also allows developers to run applications as docker images.

For running discrete compute tasks AWS has Lambda which executes code in response to various triggers, such as application or storage events. Lambda automatically scales to meet demand and supports JavaScript, Python and Java.

AWS has a large number of centers spread spread over 13 geographically dispersed regions, so there are good options for organisations with strict data sovereignty rules.
Azure

Azure has been rapidly closing the gap to Amazon in recent years with Virtual Machines. Coincidentally (perhaps) Azure also offers 40 instance sizes offering up to 20 cores and 140GB of memory. It is good to see Microsoft fully embracing Linux on Azure, so organisations with large Linux estates need not worry about choosing that platform. Red Hat and Windows images are available ‘out of the box’ with other distributions available from the Azure Marketplace. Virtual machines are billed per-minute (and discounts across all Azure services are available on 12 month pre-paid subscriptions or as part of an Enterprise Agreement).

Local (temporary) and persistent disk are supported, with VHDs being stored in Storage page blobs. SSDs are available as Premium Storage options. Azure will automatically replicate data to a neighbouring region (Standard Storage only) as well as locally across fault domains (physically isolated infrastructure). Cross region replication of Premium Storage disks is possible through snapshots.

Azure supports virtual machine auto scaling which can scale VMS in response to metrics reported through the Azure diagnostic extension.

Azure supports running docker containers with Container Service. Container Service supports both Docker Swarm and Mesosphere DC/OS orchestration engines and is backed by Virtual Machines running Linux container instances. Azure doesn’t offer a managed Docker registry, however it is possible to host your own on blob storage.

Microsoft has been traditionally strong with it’s PaaS offerings and they are not about to give up their crown just yet. App Service platform provides a fully managed environment for running .NET, Java, PHP and Node.JS applications. App Service includes Web Jobs for running background worker processes. It also comes with support for running APIs (as opposed to front-end web applications) and Logic Apps, Microsoft’s integration and workflow solution. The latest addition to the App Server family is Azure Functions, Azure’s answer to AWS Lambda.

In between App Services and Virtual Machines lives Cloud Services, the original PaaS solution offered on Azure. Cloud Services brings many of the benefits of PaaS while providing additional control over the underlying OS. This is a useful option for solutions that require the installation of third party components.

For batch workloads Azure has Batch allowing organisations to burst compute over hundreds of thousands of cores.

Microsoft is the first of the three providers to offer a fully fledged cloud microservice platform in Service Fabric. Service Fabric allows developers to write highly resilient and scalable solutions and offers full support for life-cycle management, provisioning, deploying, monitoring and upgrading services.

Azure is available in 24 regions, the most of all three providers. There are also specific Azure cloud instances for various special interests, such as the US Government and China.
Google Cloud Platform

Google’s Compute Engine provides a range virtual machine options. A number of pre-defined virtual server instances are available as well as a novel ‘build your own’ option which lets you choose between 1 and 32 ‘vCPU’/cores and up to 6.5GB of RAM per vCPU. Google’s ‘Predictable’ pricing is based on the number of cores and GB of memory. OS support comes with Linux and Windows, either pre-installed or bring your own. Compute Engine also offers a per-minute billing model and offers discounts for prolonged usage. Temporary and permanent HDD and SSD storage options are available with local redundancy built-in by default and comes with the ability to snapshot disks.

Auto scaling is fully supported with integration into Slackdriver, Google’s cloud monitoring and logging solution.

For batch workloads Google has Preemptible Vms, these are cost effective Compute Engine instances that take advantage of excess Compute Engine capacity. Google may terminate instances based on system events and will always stop instances running after 24 hours.

Google Container Engine can be used to run docker containers and is based on Kubernetes. Container Engine comes with a managed master instance, all other nodes are Compute Engine instances. This is reflected in the pricing which has a flat hourly fee (free for clusters with less than 6 nodes) plus the Compute Engine instance costs. Google offer a private container repository with Container Registry.

Google bundles its managed application services under the App Engine product. It offers a complete platform of running managed application written in Java, PHP, Node.js and Ruby. Where AWS and Azure have chosen to split out their services in to different products, App Engine comes with a no-sql store, memcache, search and traffic management (compared later in this series). This approach offers a cohesive set of related services that are easy to understand and consume.

Google offers their services across 5 geographically dispersed regions.
Conclusion

There is very little to choose between the 3 providers when it comes to virtual servers. Amazon has some impressive high end kit, on the face of it this sound like it would make AWS a clear winner. However, if your only option is to choose the biggest box available you will need to make sure you have very deep pockets, and perhaps your money may be better spent re-architecting your apps for horizontal scale.

Azure’s remains very strong in the PaaS space and now has a IaaS that can genuinely compete with AWS. Looking at the full migration journey, from lift and shift to fully cloud engineered solutions, Azure arguably has the best coverage of the three providers. It’s great to see Microsoft coming out with innovative new services such as Service Fabric, however, if your applications are written in Ruby then your options are limited to virtual machines or Docker containers.

Google offers a simple and very capable set of services that are easy to understand. However, with availability in only 5 regions it does not have the coverage of the other players.

Talking of regions, be aware that not all services are offered in every region. This applies to all three providers, so be sure to check if you have strict requirements on where your data resides.

Next up we will be looking at Storage and Content Delivery.




About the author


Jess has over 18 years’ experience helping companies succeed through the smart use of technology. He has spent most of his career working for leading Microsoft partners across the UK and Australia and is now Principal at endjin, working with clients to envision and execute disciplined innovation programmes. You can follow Jess on twitter.

Tuesday, April 25, 2017

Google introduces the Yi Halo VR camera that can capture 8K 3D 360 degree videos at 30 fps

Google introduces the Yi Halo VR camera that can capture 8K 3D 360 degree videos at 30 fps

Google has tied up with GoPro rival Yi to introduce the Yi Halo VR camera. The Yi Halo is the second camera based on Jump, a VR technology product from Google for professional productions. The Yi Halo is the second Jump camera from Google, after the GoPro Odyssey, to be aimed at high quality VR content creators. Yi has a much smaller and portable Yi VR 360 for live 360 broadcasts, as well as drone, dash and action cameras.
yi-halo-top
The Yi Halo has 16 2.5K cameras arranged in a ring, with a seventeenth unit facing upward. Two backup camera units are included in the box. After processing the video information from all the cameras together, you get an 8K video at 30 fps. The resulting video supports VR glasses, and uses the Jump assembler to create a seamless panorama. The exported data includes depth information that can be imported into visual effects and video editing software. The camera has been built to work natively with the Jump assembler. Here is a video of what the camera can do, which is better viewed with VR headsets.
Derin Turner, Production Director at VR Playhouse says “This camera and Jump ranks as one of the best and easiest pieces of equipment and platform to use on the market.” Jay Spangler, Executive VR Producer for Two Bit Circus says “The camera combined with the stitching algorithm is the best 360 video solution in the industry.”
There is an integrated control unit apart from the Android app.
There is an integrated control unit apart from the Android app.
The camera weighs just under 3.6 kg, and is pretty portable. An internal battery provides 100 minutes of continuous shooting. An AC charger can power the device and charge the batteries at the same time, and the rig supports V mount external batteries. An accompanying Android application allows for live monitoring and works as a command and control console. The recommended phones for the app are the Google Pixel phones, and the app only supports Android versions 5.0 and up. The computation power is provided by 18 Ambarella A9SE75 chipsets. There is an integrated omni-directional microphone on board. There is a passive and fanless cooling system on board. The camera is not resistant to dust and water, so cannot be used in these environments.
yi-halo-ripped
The camera is going on sale some time this summer, but a 100 selected creators will be able to get their hands on the rig, for free. Google also announced the start of the Jump Start program, which puts this exciting new rig in the hands of promising content creators, giving them access to the Halo camera before anyone else. During the Jump Start program, the creators will also have free access to the Jump assembler.
Those interested can apply for the Jump Start program up to 22 May.
Publish date: April 25, 2017 12:03 pm| Modified date: April 25, 2017 12:03 pm

Friday, April 14, 2017

Facebook has shut down about 30,000 fake accounts in France to combat fake news

Facebook has shut down about 30,000 fake accounts in France to combat fake news

Image: Reuters
Facebook Inc said on Thursday it suspended 30,000 accounts in France as the social network giant steps up efforts to stop the spread of fake news, misinformation and spam. The move, which comes 10 days before the first round of a hotly contested French presidential election, is among the most aggressive yet by Facebook to move against accounts that violate its terms of service, rather than simply respond to complaints.
Facebook is under intense pressure in Europe as governments across the continent threaten new laws and fines unless the company moves quickly to remove extremist propaganda or other content that violates local laws. The pressure on social media sites including Twitter, Google’s YouTube and Facebook has intensified in the run-up to the elections in France and Germany.
Facebook already has a program in France to use outside fact-checkers to combat fake news in users’ feeds. Also on Thursday, Facebook took out full-page ads in Germany’s best-selling newspapers to educate readers on how to spot fake news. U.S. intelligence agencies have determined that the Russian government interfered with the U.S. election last year in order to help Donald Trump win the presidency. Officials say a similar campaign is under way in Europe to promote right-wing, nationalist parties and undermine the European Union.
In a blog post, Facebook said it was acting against 30,000 fake accounts in France. It said its priority was to remove suspect accounts with high volumes of posting activity and the biggest audiences. Two people familiar with Facebook’s process said the company had strengthened its formula for detecting deceptive accounts being run by automated means. As an example, the new process considers accounts that have smaller circles of friends and that therefore had been less of a priority previously.
A key motivator was the need to get tougher on misinformation ahead of the French elections, the people said, although the move also targets accounts that generated spam for financial gain. “We’ve made improvements to recognize these inauthentic accounts more easily by identifying patterns of activity — without assessing the content itself,” Shabnam Shaik, a Facebook security team manager, wrote in an official blog post.
The company is using automated pattern-recognition to identify repeated posting of the same content and increases in messaging. Thursday’s action follows other moves by Facebook to make it easier for users to report potential fraud and hoaxes.
Reuters
Publish date: April 14, 2017 1:20 pm| Modified date: April 14, 2017 1:20 pm

Wednesday, April 12, 2017

Google’s new machine learning model can harness the processing power of your phone to improve AI

Google’s new machine learning model can harness the processing power of your phone to improve AI

Image: Google
Google’s new machine learning algorithm harnesses the processing power of your smartphone to improve algorithms and save on data consumption by intelligent virtual assistants and the like.
Using a process called Federated Learning (FL), Google claims that they can “collaboratively share a prediction model while keeping training data on the device.” It might sound complicated, but it’s actually a simple, well thought-out solution to a problem that’s been haunting machine learning for years.
Machine Learning (ML) is used to design algorithms. These algorithms help in the functioning of what we know as artificial intelligence (AI). Siri, Google Assistant, Bixby, they’re all just algorithms.
But ML is used for more than just digital assistants. Google’s self-driving car, for example, learns to drive using ML. Essentially, data is harvested and analysed and then an algorithm is developed based on the results. This one-line description grossly oversimplifies how ML works, but you get the general idea.
For example, if you normally drink your coffee at 6 AM every day on weekdays and at 8 AM on weekends, ML will analyse the data and determine your coffee drinking patterns, potentially automating your coffee making process if you have, say, a smart coffee maker. More data might lead the algorithm to determine that you drink coffee late on public holidays as well, or the data might be tied to your heart rate, etc.
The possibilities are endless, but are predicated on a large amount of data, some of it very revealing and potentially a privacy nightmare.
Image: Google
Image: Google
Traditionally, this data would need to be harvested by some device, like your smartphone, and then sent to the cloud for processing. ML is then used to analyse the data further and learn from it, further improving algorithms.
As Google explains in its blog-post, this approach requires low-latency, high-bandwidth data transfer rates. Of course, the privacy issues also raise their head here and taking responsibility for the data can put a company in a tricky spot.
With FL, Google has changed how the learning process works. As they describe it, “your device downloads the current model, improves it by learning from data on your phone, and then summarises the changes as a small focused update.”
The data that’s actually sent to the cloud is the updated algorithm and not the actual data itself. The data remains on your phone at all times.
Google’s cloud-based FL then aggregates these updates and creates an improved model for all devices. This updated model is then sent to devices as an update and the process repeats itself.
Using this technique, Google claims that bandwidth needs can be dropped by up to 100x.
Better yet, for the sake of privacy, the cloud-based processing won’t happen unless “100s or 1000s of users have participated.” This ensures that the updates from a single user cannot be identified.
The updated algorithms that your phone creates are sent to the cloud in a compressed and encrypted manner to begin with.
Google has deployed this technique in their Gboard app to help improve its natural language processing, but as they refine the process, they hope to expand FL’s scope to other applications as well.
FL has the potential to fundamentally change the way models are developed in the future. More information can be found here.
Publish date: April 12, 2017 11:16 am| Modified date: April 12, 2017 11:16 am

Google Duo’s voice-only calls now available globally

Google Duo’s voice-only calls now available globally

Back in March Google announced that it would roll out support for voice only calls using its Duo video calling service. However, support for the same was only announced in Brazil with a wide global roll out expected later in the year. Well, a Google engineer has now reported that the voice-only calls service has now gone live and is even available for users worldwide.
The engineer, Justin Uberti announced the same using Twitter and was first reported by TechCrunch.
The audio-only calls would work well on all connection speeds and be data efficient, Google Vice President for Product Management Mario Queiroz had said in a blog post after he announced the move at a Google conference in Sao Paulo.
The company launched Google Duo in August, providing video calls for users on Android and iOS, pitting it against Apple Inc’s FaceTime, Microsoft Corp’s video-calling app Skype and Facebook Inc’s Messenger.
But with multiple options for messaging, it isn’t clear as to what Google is really up to. Out here in India we have Hangouts, Google Duo, Google Allo, and even Google Messages. And all of these clash with one another.
Google Hangouts comes complimentary with your Gmail account and allows users to send messages, place voice and video calls. Google Allo on the other hand offers a smart messaging app with stickers and Assistant integration (a competitor to WhatsApp). Duo focusses solely on video calls, but now thanks to voice-only calls also plays well with voice calls. At times we wished there was just one app to get all of them done.
Publish date: April 11, 2017 5:03 pm| Modified date: April 11, 2017 5:03 pm

Monday, April 10, 2017

U.S. Trade Group Hacked by Chinese Hackers ahead of Trump-Xi Trade Summit


Thursday, April 06, 2017 Swati Khandelwal


Researchers have uncovered a Chinese cyber-espionage against the United States ahead of the trade summit on Thursday between US President Donald Trump and China's President Xi Jinping.

According to a new report published today by Fidelis Cybersecurity firm, the Chinese APT10 hacking group implanted a piece of malware on the "Events" page of the US National Foreign Trade Council (NFTC) website in February.

Dubbed 'Operation TradeSecret,' the attack against the NFTC site is seen as an attempt to conduct surveillance on the main industry players and lobbyists closely associated with U.S trade policy activities.



Researchers say hackers placed a malicious link on the NFTC website, inviting the organization's board of directors to register for a meeting in Washington DC on March 7. But clicking on the link deployed a spying tool called "Scanbox."

Dates back to 2014, Scanbox – previously used by nation-state threat actors associated with the Chinese government – has the ability to record the type and versions of software a victim is running and run keyloggers on compromised computers, said Fidelis researcher John Bambenek.

"This attack was really at its core a reconnaissance attack. Anyone who visited this calendar entry would expose their software versions and use a JavaScript keylogger that could expose their identity," said Bambenek.
"Traditionally these attacks are used to precisely identify targets and help them craft targeted phishing attacks using exploits they know the victim is vulnerable to."The malicious link was active on the NFTC website between February 27 and March 1. The malware was already removed from the site by the time Fidelis contacted NFTC.



The NFTC's staff and board represent many influential people and companies -- from President Rufus Yerxa, the U.S. Ambassador to GATT to executives from major companies including Google, Amazon, eBay, IBM, Coca-Cola, Microsoft, Oracle, Cisco, KPMG, Pfizer, Visa, Ford, Halliburton, and Walmart.

Although Fidelis detected no further attacks on NFTC board members, the security firm believed the hackers were after a full range of entities relevant to the trade negotiations due to take place Thursday between US and China.

This is the second time in a week when APT10 cyber espionage campaign has come to light. A report released this week by BAE Systems, and PwC also claimed that APT10 was targeting managed IT services providers (MSPs) and their customers across the globe to steal sensitive data.

Wednesday, April 5, 2017

Apple updates Apple Music for Android with a new UI to remove the clutter

Apple updates Apple Music for Android with a new UI to remove the clutter

Apple has revamped the Android version of Apple Music to bring “greater clarity and simplicity” to the app. The new update revamps the user interface of the app while bumping the version number to 2.0 for the app.
It is unclear if the revamp is limited to cosmetic changes that just changes the UI elements to remove the clutter or if it extends to the backend and how the services are executed in the app.
Here is the detailed changelog that came with the update:
  • Now Playing. Read lyrics for songs as you listen.
  • Library. Navigate your music easily and see the Downloaded Music you can play offline.
  • For You. Get recommendations for playlists, albums, and more—based on music you love.
  • Browse. Listen to new music first, plus playlists for any mood or activity.
  • Radio. Tune in to Beats 1 shows or listen to stations for any genre.
The new version seems to have far lesser menus than the older menus and the scolling has reduced significantly.
According to a report by Android Police, the app seems to be more responsive and faster. One thing to note here is that Apple Music costs significantly cheaper in India than in United States.
In comparison, Apple Music subscription costs about Rs 120 per month for individuals, Rs 190 per month for family up to six members and Rs 60 per month for students in contrast to $9.99 it costs for individuals per month in United States.
Publish date: April 5, 2017 11:00 am| Modified date: April 5, 2017 11:00 am

Google to use machine learning to tackle YouTube ads from showing alongside hate-videos

Google to use machine learning to tackle YouTube ads from showing alongside hate-videos

Image: Reuters
Google on Monday said it will apply machine smarts and outside eyes to help ensure brands don’t find ads paired with hateful videos on YouTube.
The move comes as the internet colossus scrambles to derail an advertising boycott of Google’s money-making engine.
Google said it was using new machine-learning or artificial intelligence systems to enforce its policies, to help content objectionable to advertisers.
These systems will be adapted to advertiser preferences, Google said.
The tech giant also said it would work with third parties to help advertisers protect their brands from unwanted placement.
“As part of our commitment to provide even more transparency and visibility to our advertising partners, we’ll be working with trusted vendors to provide third-party brand safety reporting on YouTube,” a Google spokesperson said on Monday.
Google chief business officer Phillip Schindler recently apologised and said the company was taking a “tougher stance” on hateful, offensive, or derogatory content while ramping up safeguards to make sure ads only appear with acceptable material from legitimate creators.
Google has continued to downplay the effect of the boycott.
California-based Google, which has seen a slew of companies withdraw ads fearing placement alongside extremist content, has introduced new tools to give firms greater control.
The boycott began in February after the Times newspaper of London found BBC programs were promoted alongside videos posted by American white supremacist and former Ku Klux Klan member David Duke as well as Wagdi Ghoneim, an Islamist preacher banned from Britain for inciting hatred.
The analysis found more than 200 anti-Semitic videos, and that Google had failed to remove six of them within the 24-hour period mandated by the European Union after it anonymously signaled their presence.
The British government subsequently put its YouTube advertising on hold, saying in a statement, “it is totally unacceptable that taxpayer-funded advertising has appeared next to inappropriate internet content.”
Others to pull the plug included the BBC, The Guardian newspaper group, McDonalds UK and the British arm of the major advertising agency Havas.
The movement spread to the United States, with AT&T and Verizon pulling ads from Google.
A solution may not be easy. Google needs to strike a balance between pleasing advertisers and those who upload videos to YouTube and are free to take their creations elsewhere if unsatisfied with their shares of ad revenue.
AFP
Publish date: April 4, 2017 6:44 pm| Modified date: April 4, 2017 6:44 pm

Related Posts Plugin for WordPress, Blogger...