Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Amazon Elastic Kubernetes Service
Introduction
Introduction
An XCCDF Group - A logical subset of the XCCDF Benchmark
Details
Profiles
Prose
Introduction
The purpose of this guidance is to provide security configuration recommendations and baselines for Amazon Elastic Kubernetes Service. The guide is intended for system and/or application administrators. Readers are assumed to possess basic system administration skills for the application's operating systems, as well as some familiarity with the product's documentation and administration conventions. Some instructions within this guide are complex. All directions should be followed completely and with understanding of their effects in order to avoid serious adverse effects on the system and its security.
General Principles
The following general principles motivate much of the advice in this guide and should also influence any configuration decisions that are not explicitly covered.
Encrypt Transmitted Data Whenever Possible
Data transmitted over a network, whether wired or wireless, is susceptible to passive monitoring. Whenever practical solutions for encrypting such data exist, they should be applied. Even if data is expected to be transmitted only over a local network, it should still be encrypted. Encrypting authentication data, such as passwords, is particularly important. Networks of Amazon Elastic Kubernetes Service machines can and should be configured so that no unencrypted authentication data is ever transmitted between machines.
Least Privilege
Grant the least privilege necessary for user accounts and software to perform tasks. For example,
sudo
can be implemented to limit authorization to super user accounts on the system only to designated personnel. Another example is to limit logins on server systems to only those administrators who need to log into them in order to perform administration tasks.
Run Different Network Services on Separate Systems
Whenever possible, a server should be dedicated to serving exactly one network service. This limits the number of other services that can be compromised in the event that an attacker is able to successfully exploit a software flaw in one network service.
Configure Security Tools to Improve System Robustness
Several tools exist which can be effectively used to improve a system's resistance to and detection of unknown attacks. These tools can improve robustness against attack at the cost of relatively little configuration effort.
How to Use This Guide
Readers should heed the following points when using the guide.
Formatting Conventions
Commands intended for shell execution, as well as configuration file text, are featured in a
monospace font
.
Italics
are used to indicate instances where the system administrator must substitute the appropriate information into a command or configuration file.
Read Sections Completely and in Order
Each section may build on information and recommendations discussed in prior sections. Each section should be read and understood completely; instructions should never be blindly applied. Relevant discussion may occur after instructions for an action.
Reboot Required
A system or service reboot is implicitly required after some actions in order to complete the reconfiguration of the system. In many cases, the changes will not take effect until a reboot is performed. In order to ensure that changes are applied properly and to test functionality, always reboot the system after applying a set of recommendations from this guide.
Root Shell Environment Assumed
Most of the actions listed in this document are written with the assumption that they will be executed by the root user running the
/bin/bash
shell. Commands preceded with a hash mark (#) assume that the administrator will execute the commands as root, i.e. apply the command via
sudo
whenever possible, or use
su
to gain root privileges if
sudo
cannot be used. Commands which can be executed as a non-root user are are preceded by a dollar sign ($) prompt.
Test in Non-Production Environment
This guidance should always be tested in a non-production environment before deployment. This test environment should simulate the setup in which the system will be deployed as closely as possible.