What is a second generation configuration management tool?
Page xiii of The DevOps Handbook refers to John Willis characterizing Luke Kanies’ thoughts on configuration mangaement as “second generation CM.” But according to https://www.cmcrossroads.com/article/cm-generations-and-vision-future there are four generations of CM. This may or may not be compatible with what John Willis hand in mind, but we do not see how Luke Kanies’ vision could be the second oldest of the four generations.
You used a .json file and the AWS CLI to configure customized metrics. When you go to the GUI you do not see the graphs. The commands that were run with the .json file completed without errors or problems. How do you get the web console to show the metrics you configured for various AWS components?
Possible Solution #1
CloudWatch metrics are not all necessarily graphed.
You run an aws ec2 command and you get use the –filters flag with Name=VolumeId (consistent with the casing that you see in other AWS CLI contexts). You receive a message about “the filter VolumeId” being invalid. What should you do?
Use “volume-id” instead of “VolumeId”.
In general we find that the syntax of the name itself, for an AWS CLI –filters flag,
A user has no access to a VPC from her workstation. What are three ways a user can be given access to resources in a VPC?
Four Possible, Independent Solutions
- Network Access Control lists. These are IP address firewalls for the VPCs themselves. Based on the IP address of the user’s workstation, Network Access Control lists can allow or disallow traffic to the VPC.
Jira refreshes rapidly and indefinitely when you log in or go to a specific link. Jira’s web UI is unusable. What should you do?
Root cause: A full URL may not be browsable directly yet.
Browse to a dashboard of home page. There may be a “Welcome” guide that was skipped.
You are running a jq command (e.g., piping output to jq). You receive message “jq: error…Cannot iterate over null.” What should you do?
Change the word “Parameters” to “Parameter”. By omitting an “s” from “Parameters”, the error may go away.
Verify there is output. Try running the command without the “jq” utility if possible. This error can happen if there is no output to parse.
You are running a playbook. A section is being skipped. When you use “-vvvv” to enhance the verbosity of the output messages, you see “Condition result was false”. How do you get the playbook section that is being skipped to execute?
The most likely cause is that you have a “when” statement that governs the clause of the playbook that is being skipped.
You run an AWS SSM command. You receive “An error occurred (ValidationException) when calling the CreateDocument operation: Invalid document Amazon…” What do you do to get the command to work?
Document names cannot begin with three strings (regardless of capitalization): “aws”, “amazon”, or “amzn”.
Change the document name to not have a string such as one of the above.
You are trying to have Python run Bash commands. As soon as the command includes a flag or a second argument, there is no value being assigned in Python. Two or more words in the Bash command cause no value to be assigned. What can you do?
This only works if you have complete control of the Bash command arguments.