Management Tools | AWS OpsWorks for Chef Automate Flashcards

1
Q

What is AWS OpsWorks for Chef Automate?

General

AWS OpsWorks for Chef Automate | Management Tools

A

AWS OpsWorks for Chef Automate provides a fully managed Chef server and suite of automation tools that give you workflow automation for continuous deployment, automated testing for compliance and security, and a user interface that gives you visibility into your nodes and their status. The Chef server gives you full stack automation by handling operational tasks such as software and operating system configurations, package installations, database setups, and more. The Chef server centrally stores your configuration tasks and provides them to each node in your compute environment at any scale, from a few nodes to thousands of nodes. OpsWorks for Chef Automate is completely compatible with tooling and cookbooks from the Chef community and automatically registers new nodes with your Chef server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How is OpsWorks for Chef Automate different from OpsWorks Stacks?

General

AWS OpsWorks for Chef Automate | Management Tools

A

OpsWorks for Chef Automate is a configuration management service that helps you instantly provision a Chef server and lets the service operate it, including performing backups and software upgrades. The service offers full compatibility with Chef’s Supermarket cookbooks and recipes. It supports native Chef tools such as TestKitchen and Knife. The OpsWorks Stacks service helps you model, provision, and manage your applications on AWS using the embedded Chef solo client that is installed on Amazon EC2 instances on your behalf. To learn more, see OpsWorks Stacks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Who should use OpsWorks for Chef Automate?

General

AWS OpsWorks for Chef Automate | Management Tools

A

Customers who are looking for a configuration management experience that is fully compatible with Chef, including all community scripts and tooling, but without operational overhead should adopt OpsWorks for Chef Automate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can I access OpsWorks for Chef Automate?

General

AWS OpsWorks for Chef Automate | Management Tools

A

The OpsWorks for Chef Automate service is available through the AWS Management Console, AWS SDKs, and the AWS Command Line Interface (CLI). After the Chef server has been set up, it can also be managed by Chef-compatible tools such as Knife.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In which regions is OpsWorks for Chef Automate available?

General

AWS OpsWorks for Chef Automate | Management Tools

A

See Regional Products and Services for details.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Are there any limits to OpsWorks for Chef Automate?

General

AWS OpsWorks for Chef Automate | Management Tools

A

The default service limits are:

Configuration management servers per region: 5

Automated backups per configuration management server: 30

Manual backups per configuration management server: 10

If you would like to change these limits, contact AWS Support.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What network requirements must my servers meet to work with OpsWorks for Chef Automate?

General

AWS OpsWorks for Chef Automate | Management Tools

A

Your servers must be able to connect to AWS public endpoints. See the documentation for details.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Chef and how does OpsWorks for Chef Automate use it?

General

AWS OpsWorks for Chef Automate | Management Tools

A

Chef Automate is a software bundle by Chef Software, Inc. that automates how applications are configured, deployed, and managed through the use of code. OpsWorks for Chef Automate uses Chef recipes to deploy and configure software components on Amazon EC2 instances and on-premises servers. Chef has a rich ecosystem with hundreds of cookbooks that can be used in AWS, such as cookbooks for managing PostgreSQL, Nginx, Solr, and many more.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Chef Automate?

General

AWS OpsWorks for Chef Automate | Management Tools

A

Chef Automate gives you a full-stack, continuous deployment pipeline, automated testing for compliance and security, and visibility into everything that’s happening along the way. It builds on Chef for infrastructure automation, InSpec for compliance automation, and Habitat for application automation. You can transform your company into a highly collaborative, software-driven organization with Chef Automate as the engine. To learn more, see the Chef Automate product details page.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do I use the Chef Automate console?

General

AWS OpsWorks for Chef Automate | Management Tools

A

Chef Automate includes its own console. The Chef Automate Console can be accessed through the OpsWorks link on the the AWS Management Console. After you click the link, you will be prompted for the credentials that you were assigned when you set up the Chef Automate server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

I am an AWS OpsWorks Stacks customer. Should I migrate to the new OpsWorks for Chef Automate service?

General

AWS OpsWorks for Chef Automate | Management Tools

A

OpsWorks Stacks customers who are looking for full Chef server compatibility are encouraged to use OpsWorks for Chef Automate. To learn more about OpsWorks Stacks, see the OpsWorks Stacks product details page.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How can I migrate from OpsWorks Stacks to OpsWorks for Chef Automate?

General

AWS OpsWorks for Chef Automate | Management Tools

A

Before you migrate, you first have to adapt your OpsWorks cookbooks to work on a Chef server. Some may work without alterations, however. If you are using OpsWorks instance scaling (either time-based or load-based), you’ll need to use an EC2 Auto Scaling group and OpsWork Chef’s node registration feature instead. You will later be able to work with your Chef server and nodes by using Chef’s Visibility console or Knife.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which versions of Chef are supported?

General

AWS OpsWorks for Chef Automate | Management Tools

A

OpsWorks for Chef Automate currently supports Chef Automate 12. The OpsWorks for Chef Automate service will regularly upgrade your Chef server to the latest recommended version.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which cloud resources power my AWS OpsWorks for Chef Automate server?

General

AWS OpsWorks for Chef Automate | Management Tools

A

AWS OpsWorks for Chef Automate uses proven AWS features and services, such as Amazon EC2, Amazon EBS, Amazon S3, and Amazon CloudWatch to create the components that make up your managed Chef server. OpsWorks for Chef Automate uses the Amazon Linux Amazon Machine Image (AMI).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How can I back up my Chef server?

General

AWS OpsWorks for Chef Automate | Management Tools

A

You can define a daily or weekly recurring Chef server backup. The service stores the backups in Amazon S3 on your behalf. Alternatively, you can choose to create manual backups on demand.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How many backups can I keep for every Chef server?

General

AWS OpsWorks for Chef Automate | Management Tools

A

Backups are stored in Amazon S3 and incur additional fees. You can define a backup retention period of up to 30 generations. You can submit a service request to change that limit by using AWS Support channels.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

How can I restore my Chef server to an earlier point in time?

General

AWS OpsWorks for Chef Automate | Management Tools

A

After browsing through your available backups, you can choose a point in time from which to restore your Chef server. Server backups contain only Chef software persistent data such as cookbooks and registered nodes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Which resources can I connect to my Chef server?

General

AWS OpsWorks for Chef Automate | Management Tools

A

You can connect any EC2 instance or on-premises server that is running a supported operating system and has Internet access to an OpsWorks for Chef Automate server. You are charged an hourly fee for every connected resource.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

How do I register nodes with the Chef server?

General

AWS OpsWorks for Chef Automate | Management Tools

A

You’ll get user-data code snippets through the console. You can put these code snippets in an EC2 Auto Scaling group. These code snippets ensure that your instances are registered to your Chef server as Chef nodes, and that they run the corresponding Chef recipes. On-premises servers require that you install the Chef client agent software and register the server with your Chef server.

20
Q

How can I obtain Chef related training?

Maintenance Window

AWS OpsWorks for Chef Automate | Management Tools

A

You can choose your preferred Chef Automate training method from Chef’s website.

In Person Training - Chef offers in person classes that will meet your needs regardless of your skill level.

Online Instructor-Led Training - No need to leave your home or office for Chef training.

Self-Paced Training - Learn new skills whenever you have time.

Private Training - Chef training delivered when and where you need it.

21
Q

How can I keep the underlying Chef server running and up-to-date?

Maintenance Window

AWS OpsWorks for Chef Automate | Management Tools

A

Your managed configuration management server is updated to the latest version of Chef Automate during the maintenance window that you configure. OpsWorks for Chef Automate also regularly runs security updates and operating system package updates for you.

22
Q

What is an OpsWorks for Chef Automate maintenance window?

Maintenance Window

AWS OpsWorks for Chef Automate | Management Tools

A

A maintenance window is a daily or weekly one-hour time slot during which OpsWorks for Chef Automate initiates Chef minor version updates, security updates, and operating system package updates. For example, if you select a maintenance window that begins every Sunday at 2:00 A.M., OpsWorks for Chef Automate initiates the platform update between 2:00 and 3:00 A.M. every Sunday.

The maintenance window is set on a per-Chef-server basis, so you can set different maintenance times for different Chef servers. If you want to change when maintenance is performed, you can use the OpsWorks for Chef Automate console, the AWS CLI or APIs.

23
Q

How do I set up a maintenance window?

Maintenance Window

AWS OpsWorks for Chef Automate | Management Tools

A

The maintenance window is enabled by default and can be set during the Chef server setup phase. You can change settings later by using the AWS Management Console, CLI, or APIs.

24
Q

What kinds of version updates will be performed by OpsWorks for Chef Automate?

Maintenance Window

AWS OpsWorks for Chef Automate | Management Tools

A

OpsWorks for Chef Automate performs version updates automatically as long as the updates include backward-compatible changes. When new versions of Chef software become available, system maintenance is designed to update the version of Chef Automate and Chef Server on the server automatically, as soon as the version update passes AWS testing. AWS performs extensive testing to verify that Chef upgrades are production-ready and do not disrupt existing customer environments, so there can be lags between Chef software releases and their availability for application to existing OpsWorks for Chef Automate servers.

25
Q

When and how can I perform major version updates?

Maintenance Window

AWS OpsWorks for Chef Automate | Management Tools

A

You can perform major version updates at any time by using the AWS OpsWorks for Chef Automate console, API, or CLI.

26
Q

How does AWS OpsWorks for Chef Automate apply updates?

Maintenance Window

AWS OpsWorks for Chef Automate | Management Tools

A

The updates are applied directly to the managed EC2 instance on which the Chef server is running. If the OpsWorks for Chef Automate health system detects any issues during the update, OpsWorks for Chef Automate will roll back changes and try again during the next maintenance window.

27
Q

Will my Chef server be available during the maintenance window?

Maintenance Window

AWS OpsWorks for Chef Automate | Management Tools

A

Your Chef server is not available when maintenance updates are being applied. Your connected nodes enter a pending-server state until maintenance is complete. The connected nodes will continue to operate normally.

28
Q

How will I be notified of the availability of new OpsWorks for Chef Automate versions?

Maintenance Window

AWS OpsWorks for Chef Automate | Management Tools

A

You are notified about new Chef versions through the OpsWorks for Chef Automate console. The service console informs you if your Chef server was updated during the maintenance window.

29
Q

Where can I find details about changes between platform versions?

Maintenance Window

AWS OpsWorks for Chef Automate | Management Tools

A

Details about changes between Chef Automate versions are on the OpsWorks for Chef Automate Release Notes page.

30
Q

How often are platform version updates released?

Getting Started

AWS OpsWorks for Chef Automate | Management Tools

A

The number of version releases each year varies based on the frequency of Chef Automate patch releases from Chef and acceptance testing performed by AWS.

31
Q

How do I get started with OpsWorks for Chef Automate?

Configuration and Management

AWS OpsWorks for Chef Automate | Management Tools

A

The best way to get started with OpsWorks for Chef Automate is to review the AWS OpsWorks for Chef Automate Getting Started chapter of the technical documentation.

32
Q

How do I create Chef cookbooks and recipes?

Configuration and Management

AWS OpsWorks for Chef Automate | Management Tools

A

The easiest way to get started is to use existing Chef recipes. Many public repositories contain Chef cookbooks with recipes that can run with little to no modification. The OpsWorks for Chef Automate Starter Kit also includes an example Chef recipe and describes how it works.

33
Q

Can I use community cookbooks from the Chef Supermarket?

Configuration and Management

AWS OpsWorks for Chef Automate | Management Tools

A

Yes. OpsWorks for Chef Automate provides configuration management experience that is fully compatible with Chef Automate. You can use community-authored cookbooks with no AWS-specific modifications.

34
Q

How do I upgrade my Chef nodes to a newer release version?

Configuration and Management

AWS OpsWorks for Chef Automate | Management Tools

A

Chef node upgrades can be done at your convenience by using the Chef omnibus recipe. Although OpsWorks regularly performs Chef server version upgrades on your behalf, your Chef nodes continue to operate even if they remain on the earlier version.

35
Q

Does my OpsWorks for Chef Automate server support community tools like Knife and Test Kitchen?

Configuration and Management

AWS OpsWorks for Chef Automate | Management Tools

A

Yes. OpsWorks for Chef Automate provides configuration management experience that is fully compatible with Chef Automate. You can use the same ecosystem of tools as an on-premises Chef Automate server.

36
Q

Is there a sample cookbook that I can use to check out OpsWorks for Chef Automate?

Configuration and Management

AWS OpsWorks for Chef Automate | Management Tools

A

Yes. The OpsWorks for Chef Automate Starter Kit includes a sample cookbook that you can use to test drive the offering and explore its functionality.

Security

37
Q

Is it possible to use AWS Identity and Access Management (IAM) with OpsWorks for Chef Automate?

Configuration and Management

AWS OpsWorks for Chef Automate | Management Tools

A

Yes. IAM users with the appropriate permissions can work with AWS OpsWorks for Chef Automate. The Chef users are not managed by IAM and must be provisioned from within Chef Automate.

38
Q

How do I create IAM users?

Configuration and Management

AWS OpsWorks for Chef Automate | Management Tools

A

You can use the IAM console, IAM command line interface (CLI), or IAM API to provision IAM users. By default, IAM users have no access to AWS services until permissions are granted.

39
Q

Do I have root access to my OpsWorks for Chef Automate server EC2 instance?

Configuration and Management

AWS OpsWorks for Chef Automate | Management Tools

A

Yes. You can provide an SSH key pair to enable root access to the OpsWorks for Chef Automate server EC2 instance. OpsWorks for Chef Automate provides you with tooling to perform common operational tasks, and so we recommend that you disable SSH access.

40
Q

Where can I find more information about security and running applications on AWS?

Configuration and Management

AWS OpsWorks for Chef Automate | Management Tools

A

See Amazon Web Services: Overview of Security Processes and the AWS Security Center.

41
Q

Can I get a history of OpsWorks for Chef Automate API calls made on my account for security analysis and troubleshooting purposes?

Billing

AWS OpsWorks for Chef Automate | Management Tools

A

Yes. To get a history of OpsWorks for Chef Automate API calls made on your account, you simply turn on AWS CloudTrail in the AWS Management Console.

42
Q

How much do the AWS resources powering my application on OpsWorks for Chef Automate server cost?

Billing

AWS OpsWorks for Chef Automate | Management Tools

A

The OpsWorks for Chef Automate server is configured on your behalf and powered by Amazon EC2, Amazon EBS, Amazon S3, and Amazon CloudWatch. For EC2 pricing information, see the EC2 pricing page. For S3 pricing information, see the S3 pricing page. For CloudWatch pricing information, see the CloudWatch pricing page. There are three EC2 instance types to choose from for running the Chef server: m4.large, r4.xlarge, r4.2xlarge. The hourly rate depends on the instance type used.

43
Q

Am I billed for EC2 instances and on-premises servers that are connected to my OpsWorks for Chef Automate server?

Billing

AWS OpsWorks for Chef Automate | Management Tools

A

You pay an hourly fee for each EC2 instance and on-premises server that is connected to an AWS OpsWorks for Chef Automate server. There are no minimum fees and no upfront commitments. For more information, see our pricing page.

44
Q

How do I view the cost of AWS resources that have been used by my OpsWorks for Chef Automate server?

Support

AWS OpsWorks for Chef Automate | Management Tools

A

OpsWorks for Chef Automate automatically tags all Chef server resources with the name of your Chef server. You can use these tags with Cost Allocation Reports to organize and track your AWS costs. See AWS Account Billing for details.

45
Q

Does AWS Support cover OpsWorks for Chef Automate?

Support

AWS OpsWorks for Chef Automate | Management Tools

A

Yes. AWS Support covers issues related to your use of OpsWorks for Chef Automate. See the AWS Support page for details.