Cloud security is no oxymoron

The cloud is frequently described as the next big thing in computing. Years ago, it was the Web, and before that it was the Internet. The cloud is in the forefront. Consumers are storing personal data in the cloud. You are likely using the cloud right now in some form.


Today, “the cloud” is frequently described as the “next big thing” in computing. Years ago, it was the Web, and before that it was the Internet. Currently, however, the cloud is in the forefront. Consumers are storing personal data in the cloud. You are probably using the cloud right now in some form. It is estimated that in 2013 over $148 billion will be spent on cloud computing.1 Companies large and small are using the cloud to conduct business and store critical information. The cloud is now mainstream.

Cloud computing focuses on elastic and scalable computing and storage resources that can be allocated on an as-needed basis for greater efficiencies in manufacturing. Courtesy: National InstrumentsAt National Instruments (NI), one of our teams is working to leverage the cloud to help solve real-world problems. One product we developed to do this is the FPGA Compile Cloud, a cloud service that allows users of NI LabVIEW FPGA to perform the computationally complex chore of FPGA compilation in a cloud-based environment. These compiles can sometimes take up to 24 hours to complete and can contain highly sensitive control logic or other sensitive information. The FPGA Compile Cloud is a software service offering built on top of public cloud infrastructure products. (National Instruments uses Amazon Web Services (AWS) and Microsoft Azure to host its cloud solutions.) Because we know that our customers expect a high level of security (as well as performance and availability), we have addressed authentication, encryption, and network access control to make our cloud solutions secure.

The paradigm of cloud computing requires cloud consumers to extend their trust boundaries outside their current network and infrastructure to encompass a cloud provider. This article covers only a subset of the security implications of dealing with the cloud, but hopefully the information will help you get started on the road to securing your own cloud implementation.

To begin, it would be helpful to define the cloud. First and foremost, it is about elastic and scalable computing and storage resources that can be allocated on an as-needed basis (see Figure 1). When allocated, these resources are abstracted so that the developer doesn’t need to be concerned with the underlying infrastructure and can simply make use of an abstracted service layer to allocate or destroy resources. Typically, the cloud uses utility billing so you only pay for what you use.

The National Institute of Standards and Technology (NIST; defines three types of clouds: Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS). NIST also adds another layer of complexity by defining different cloud deployment models: public, private, hybrid, and community.2 Amidst all these definitions, it might be easier to determine what the cloud is not. It is not a return to mainframe computing, nor is it hosting, the Web, or virtualization. Some of the confusion around the cloud results from the inclusion of the word “cloud” in a lot of marketing material that used to read “Web.” The cloud is not the Web.

Security in the cloud

The core of the cloud—elastic computing, scalable resources, service layers, abstracted infrastructure, and utility billing—allows you to offload functional parts of your system to a provider and do things that were previously impossible to do. But with these new benefits come an inherent new form of risk and a security-threat landscape. There are three primary areas of cloud security that relate to almost any cloud implementation: authentication, encryption, and network access control.

Authentication. Authentication is different in the cloud than in other areas of computing. Many users of SaaS products expect to be able to use credentials that belong to them (for example, Google, OpenID, Twitter) to access services that use an open authentication protocol like OAuth ( Even if it does not integrate with third-party credentials, authentication needs to be done over a secure connection such as SSL (secure sockets layer) and should issue a randomized token instead of sending the credentials back and forth with each request. This serves the same purpose as a session in traditional Web applications. Enforcing randomness on issued tokens, expiration, and secure transport are crucial to building secure Web services.

For IaaS cloud solutions, authentication is no longer done with a username and password. Because of the public nature of the cloud, this type of authentication is too vulnerable to brute-force and dictionary attacks. Instead, all services must be secured with keys and certificates that are no longer something you know (for instance, a password) but are now something you have. How, then, do you keep these keys and certificates hidden from others? One method to control key use is to use a key store or key service, and to use encryption pervasively. A second method to control keys is by putting policies and procedures in place to frequently change keys.

Encryption. Customer data and other sensitive items (such as the secure certificates you use for authentication) must be encrypted under three circumstances: when data is in transit over the network, when data is at rest, and when data is backed up. When data traverses the network, a standard asymmetric encryption protocol such as SSL/TLS or a VPN (virtual private network) should be used. This technique is standard in traditional Web applications. However, in the cloud it is important to remember that you are running across a network you don’t control. Therefore, it is important that as data moves across different instances in your cloud application that it is encrypted on those paths as well.

When data is at rest or backed up, different strategies can be deployed to encrypt the data, ranging from whole-disk encryption to encrypting only sensitive data in a particular record of a database. The key to implementing an encryption strategy that works is understanding your data and not necessarily the actual encryption used.

Because data is crucial, it is important to understand how your data flows through the system. One of the best exercises for any team creating a new application in the cloud is “threat modeling,” which traces data as it flows through the system and questions assumptions about the data. Once you know where sensitive data is exposed, you can focus on securing the data.

Network access control. Firewalls—the longtime security placebo—are also different in the cloud. No longer can you rely on perimeter protection to keep your systems safe. In the cloud, your assets are publicly available; they share network space with other cloud consumers. Most cloud vendors offer firewall-like functionality to consumers in which you can control traffic based on the source and port of the sender and the receiver. Using this feature, cloud consumers can create rules that white list traffic outside of their system and also from inside their cloud systems.

Amazon Web Services (, a popular cloud vendor, provides security groups to limit internal and external traffic. Instead of including one firewall to cover an entire network, a “firewall” can be in place for every instance in a cloud environment. With these rules in place, only traffic that matches the rules is allowed, and it is possible to make sure that the database server will never be able to ssh (secure shell) to the front-end Web servers or be able to scp (secure copy) files off the authentication system. Host-based firewalls and IDSes (intrusion detection systems) also are useful in cloud architecture.

Taking the next steps to embrace the cloud

At National Instruments, we have addressed authentication, encryption, and network access control through several methods. Authentication is implemented for our customers using a secure transport layer and by issuing randomized tokens that have forced expiration. For our build process for any persistent image, we wipe all private information and keys. In addition to adding encryption, several design decisions decrease the amount of sensitive data stored on the server side. For the FPGA Compile Cloud, once the finished result is returned to the customer, the job is no longer stored. In regard to network access control, we have implemented security groups in Amazon Web Services that are tightly scoped to only allow certain traffic to and from our different types of instances. We also use secure code analysis tools and third-party consultants (in addition to our own certified security staff) to ensure we are providing as secure a solution as possible.

The information presented here only scratches the surface when it comes to cloud security. Depending on your application architecture, you will have specific needs and should consider security for logging, monitoring, penetration testing, static code analysis, access to management interfaces, and more. Late in 2008, the security community recognized the need for additional information on cloud security and formed the Cloud Security Alliance (CSA; The organization recently released Security Guidance for Critical Areas of Focus in Cloud Computing, a free document that covers specific areas of cloud computing security. This report, available on the CSA website,3 would be a good next step to learning more about cloud security.

In 2010, the computing security community took additional steps to create software that could withstand attacks and persist in the state of adversity. Adapting a term from the hardware world, the group proposed the building of rugged software, and the idea has begun to take root ( It will be interesting to see if and how rugged software—in which security requirements would be in-scope right from the start—may grow in the development community.

In any case, the cloud helps foster innovation and lowers entry barriers. The key is to remember that you are in an environment that you don’t completely control—or shouldn’t completely trust. It is crucial to implement the security controls that make sense for such an environment.

James Wickett, CISSP, CCSK, is web systems engineer, National Instruments.

Also search “cloud” on the Control Engineering website at for a collection of articles on cloud-based automation related to the December 2011 cover story.

1 For more, read 2010 Cloud Computing State of the Union at ReadWrite Cloud;

2 For more, read NIST Special Publication 800-145, The NIST Definition of Cloud Computing;

3 Security Guidance for Critical Areas of Focus in Cloud Computing is available at

No comments
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
The System Integrator Giants program lists the top 100 system integrators among companies listed in CFE Media's Global System Integrator Database.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
This eGuide illustrates solutions, applications and benefits of machine vision systems.
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Robotic safety, collaboration, standards; DCS migration tips; IT/OT convergence; 2017 Control Engineering Salary and Career Survey
Integrated mobility; Artificial intelligence; Predictive motion control; Sensors and control system inputs; Asset Management; Cybersecurity
Big Data and IIoT value; Monitoring Big Data; Robotics safety standards and programming; Learning about PID
Featured articles highlight technologies that enable the Industrial Internet of Things, IIoT-related products and strategies to get data more easily to the user.
This article collection contains several articles on how automation and controls are helping human-machine interface (HMI) hardware and software advance.
This digital report will explore several aspects of how IIoT will transform manufacturing in the coming years.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Mobility as the means to offshore innovation; Preventing another Deepwater Horizon; ROVs as subsea robots; SCADA and the radio spectrum
Future of oil and gas projects; Reservoir models; The importance of SCADA to oil and gas
Big Data and bigger solutions; Tablet technologies; SCADA developments
Automation Engineer; Wood Group
System Integrator; Cross Integrated Systems Group
Jose S. Vasquez, Jr.
Fire & Life Safety Engineer; Technip USA Inc.
This course focuses on climate analysis, appropriateness of cooling system selection, and combining cooling systems.
This course will help identify and reveal electrical hazards and identify the solutions to implementing and maintaining a safe work environment.
This course explains how maintaining power and communication systems through emergency power-generation systems is critical.
click me